X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device_posix.c;fp=device_posix.c;h=6362a9aa53f9aa5d61469309f99dde239487b0e6;hb=224b4e6d27a3af235500d9d8028ddbd3a60af7ed;hp=82071a4e080071e037104ab353536ee31a930f55;hpb=9d1b9d0a2b6515be3cec895654af126aaddd21b3;p=debian%2Fcpmtools diff --git a/device_posix.c b/device_posix.c index 82071a4..6362a9a 100644 --- a/device_posix.c +++ b/device_posix.c @@ -1,20 +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 "config.h" #include #include #include "device.h" + +#ifdef USE_DMALLOC +#include +#endif /*}}}*/ /* Device_open -- Open an image file */ /*{{{*/