summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Intrinsic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index 29bf716..7119b09 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -81,6 +81,9 @@ in this Software without prior written authorization from The Open Group.
#ifndef VMS
#include <sys/stat.h>
#endif /* VMS */
+#ifdef WIN32
+#include <direct.h> /* for _getdrives() */
+#endif
#include <stdlib.h>