Imported Upstream version 2.7
[debian/cpmtools] / device_win32.c
index ca329025b55a429630aab90e1892cd7dfc9b95e2..4ea90f8a4df0ff2a33e4cc9d3319b3e8dd37a54e 100644 (file)
@@ -1,15 +1,16 @@
 /* #includes */ /*{{{C}}}*//*{{{*/
-#undef  _POSIX_SOURCE
-#define _POSIX_SOURCE   1
-#undef  _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 2
+#include "config.h"
 
 #include <assert.h>
 #include <errno.h>
 #include <ctype.h>
-#include "config.h"
+
 #include "cpmdir.h"
 #include "cpmfs.h"
+
+#ifdef USE_DMALLOC
+#include <dmalloc.h>
+#endif
 /*}}}*/
 /* types */ /*{{{*/
 #define PHYSICAL_SECTOR_1       1 /* First physical sector */