[PATCH lib/libXmu 1/2] Include <direct.h> for _getdrives() on Win32

Jon TURNEY jon.turney at dronecode.org.uk
Thu Mar 19 07:18:29 PDT 2015


Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/RdBitF.c | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.3.2



More information about the xorg-devel mailing list