aboutsummaryrefslogtreecommitdiff
path: root/libiberty/unlink-if-ordinary.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-28 18:02:14 +0000
committerDJ Delorie <dj@redhat.com>2005-03-28 18:02:14 +0000
commit864e8148e917a45ef4d0966e8a4d663f929d0e57 (patch)
tree0c0f5b9dc5bcec4b0370dff2c14ce96316a8e557 /libiberty/unlink-if-ordinary.c
parente064c173c645a9f23b6b0d2a4c6fe32eebbf96d0 (diff)
downloadgdb-864e8148e917a45ef4d0966e8a4d663f929d0e57.zip
gdb-864e8148e917a45ef4d0966e8a4d663f929d0e57.tar.gz
gdb-864e8148e917a45ef4d0966e8a4d663f929d0e57.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/unlink-if-ordinary.c')
-rw-r--r--libiberty/unlink-if-ordinary.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/unlink-if-ordinary.c b/libiberty/unlink-if-ordinary.c
index a389ad4..1f21806 100644
--- a/libiberty/unlink-if-ordinary.c
+++ b/libiberty/unlink-if-ordinary.c
@@ -1,5 +1,5 @@
/* unlink-if-ordinary.c - remove link to a file unless it is special
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of the libiberty library. This library is free
software; you can redistribute it and/or modify it under the
@@ -39,6 +39,8 @@ was made to unlink the file because it is special.
#include "config.h"
#endif
+#include <sys/types.h>
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif