Imported Upstream version 2.7
[debian/cpmtools] / cpmcp.c
diff --git a/cpmcp.c b/cpmcp.c
index 61dc65b6fd69621dc79ddf3e9277747ee5308aa8..f94e98754628fd7b7af9aaece2b9272ad7a1ae43 100644 (file)
--- a/cpmcp.c
+++ b/cpmcp.c
@@ -1,12 +1,5 @@
 /* #includes */ /*{{{C}}}*//*{{{*/
-#undef  _POSIX_SOURCE
-#define _POSIX_SOURCE   1
-#undef  _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 2
-
-#ifdef DMALLOC
-#include "dmalloc.h"
-#endif
+#include "config.h"
 
 #include <sys/stat.h>
 #include <ctype.h>
 #include <fcntl.h>
 #include <limits.h>
 #include <stdlib.h>
-#include "config.h"
 
 #include "getopt.h"
 #include "cpmfs.h"
+
+#ifdef USE_DMALLOC
+#include <dmalloc.h>
+#endif
 /*}}}*/
 
 const char cmd[]="cpmcp";