summaryrefslogtreecommitdiff
path: root/libiberty/getpwd.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2004-01-26 19:11:55 +0000
committerDavid Carlton <carlton@bactrian.org>2004-01-26 19:11:55 +0000
commit02f7156281e8b99504f335f55b29aa6ae307488b (patch)
tree83f502bee114165d0ca14a4ac612c2d8ae172e13 /libiberty/getpwd.c
parentfcc929ef86456cb1cda90b1391209eed2446943d (diff)
downloadgdb-carlton_dictionary-branch.tar.gz
2004-01-26 David Carlton <carlton@kealia.com>cvs/carlton_dictionary-branchcarlton_dictionary-branch
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
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 f508b1e21e5..31c7d20f307 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 ();