X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device_libdsk.c;fp=device_libdsk.c;h=b0d58b5651f4c8c2dcb921c2cb730d854b919931;hb=224b4e6d27a3af235500d9d8028ddbd3a60af7ed;hp=54d4087e623c664aa85345bdd46e679b4c273909;hpb=9d1b9d0a2b6515be3cec895654af126aaddd21b3;p=debian%2Fcpmtools diff --git a/device_libdsk.c b/device_libdsk.c index 54d4087..b0d58b5 100644 --- a/device_libdsk.c +++ b/device_libdsk.c @@ -1,19 +1,16 @@ /* #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 #include #include #include -#include "config.h" + #include "device.h" + +#ifdef USE_DMALLOC +#include +#endif /*}}}*/ /* Device_open -- Open an image file */ /*{{{*/