summaryrefslogtreecommitdiff
path: root/libiberty/getpwd.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-02-09 19:44:01 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-02-09 19:44:01 +0000
commitcee0802370de30b5e41a57a9e2bde1b446ca0770 (patch)
treeb601adf9aaa6b9c05aa7a20e421d619f1234da1b /libiberty/getpwd.c
parentf4570b829b5e52cf5d7abebf61a18d876fa6bcc1 (diff)
downloadbinutils-redhat-drow-cplus-branch.tar.gz
Merge drow-cplus-merge-20040208 to drow-cplus-branch.drow-cplus-branch
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 f508b1e21e..31c7d20f30 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 ();