summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-09-30 21:27:51 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-09-30 21:27:51 +0000
commit770d66a00b2476b27435c61ba847e1ab53f40cc8 (patch)
tree031ff6d10aa4eb7fc3a025330d7098fa858de569
parent48a7a36b0a5de9a1a1873a81e6c5da63f8a7a61c (diff)
downloadgcc-770d66a00b2476b27435c61ba847e1ab53f40cc8.tar.gz
#ifdef WINNT, include direct.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8180 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/getpwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/getpwd.c b/gcc/getpwd.c
index 5dc5f2401e2..f2317a4da3a 100644
--- a/gcc/getpwd.c
+++ b/gcc/getpwd.c
@@ -28,6 +28,9 @@ extern char *getcwd ();
/* We actually use this as a starting point, not a limit. */
#define GUESSPATHLEN 100
#endif /* (defined (USG) || defined (VMS)) */
+#ifdef WINNT
+#include <direct.h>
+#endif
char *getenv ();
char *xmalloc ();