aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-09-30 17:27:51 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-09-30 17:27:51 -0400
commitfa0fdaec2c85cb846c31c0f848ff2a1b105b4cc1 (patch)
tree031ff6d10aa4eb7fc3a025330d7098fa858de569
parentc499e03ace0af5bb8ac892e51f4ccf09b8ef68b0 (diff)
downloadgcc-fa0fdaec2c85cb846c31c0f848ff2a1b105b4cc1.zip
gcc-fa0fdaec2c85cb846c31c0f848ff2a1b105b4cc1.tar.gz
gcc-fa0fdaec2c85cb846c31c0f848ff2a1b105b4cc1.tar.bz2
#ifdef WINNT, include direct.h.
From-SVN: r8180
-rw-r--r--gcc/getpwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/getpwd.c b/gcc/getpwd.c
index 5dc5f24..f2317a4 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 ();