summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-02 23:47:50 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-02 23:47:50 +0200
commitc8d175066c0e2a8d466b905e7968cbdac2becc46 (patch)
tree064add58da4fa7b6551193cb0b3b564a9915591d /src
parent87430ae7652eebf21b996f2a0984e745e8e76dc5 (diff)
Disable crypto for ntfsprogs compilation
Fix configure --enable-sudo and --enable-missing-uuid-ok Check io.h header for mingw
Diffstat (limited to 'src')
-rw-r--r--src/common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c
index 42243ab..04da461 100644
--- a/src/common.c
+++ b/src/common.c
@@ -40,8 +40,10 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
-#ifdef HAVE_MINGW_IO_H
-#include <mingw/io.h>
+#ifdef __MINGW32__
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
#endif
#include "intrf.h"
#include "log.h"