aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getpwd.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-01-22 19:34:11 +0000
committerDJ Delorie <dj@redhat.com>2004-01-22 19:34:11 +0000
commit37254c9a9efe1273611bf5f23c5cf04cd19290e4 (patch)
tree462ebbaa101bf67b3cc738d388b8584360078662 /libiberty/getpwd.c
parent51f72ab2bcdc0fc9977b4d9b570bdc8e17abcfa5 (diff)
downloadgdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.zip
gdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.tar.gz
gdb-37254c9a9efe1273611bf5f23c5cf04cd19290e4.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/getpwd.c')
-rw-r--r--libiberty/getpwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/getpwd.c b/libiberty/getpwd.c
index f508b1e..31c7d20 100644
--- a/libiberty/getpwd.c
+++ b/libiberty/getpwd.c
@@ -35,6 +35,9 @@ extern int errno;
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#if HAVE_LIMITS_H
+#include <limits.h>
+#endif
/* Prototype these in case the system headers don't provide them. */
extern char *getpwd ();