diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-14 12:19:07 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-14 12:19:07 +0100 |
commit | af9c277491c9bdc37a6fc5ae5a6c6ca190bfa56c (patch) | |
tree | eeeacaf590546ac3d50f001db22378dd45d93d4d | |
parent | e7094ceaf95a15eae73819d0ffdb9b982075e0d2 (diff) |
Include direct.h header for _getdrives() on Win32
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: David Macek <david.macek.0@gmail.com>
-rw-r--r-- | src/Intrinsic.c | 3 |
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> |