summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-09-13 21:57:39 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-04-12 14:34:01 +0100
commit4459e6940fe3fdf26a8d5d4c71989498bc400a62 (patch)
tree8eced28d23683f2a007d79a846efcb3ec94f96e5
parent24bcdbd17913a1ca39c975113767aa2c556b69cc (diff)
Include <direct.h> 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/RdBitF.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RdBitF.c b/src/RdBitF.c
index 02159c6..240c4c8 100644
--- a/src/RdBitF.c
+++ b/src/RdBitF.c
@@ -56,6 +56,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xmu/Drawing.h>
#ifdef WIN32
#include <X11/Xwindows.h>
+#include <direct.h> /* for _getdrives() */
#endif
#define MAX_SIZE 255