X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lib-src%2Fwakeup.c;h=a97108792ace7d3414540f8f078e064a797a10ab;hp=979bd826b7c0f8472743bde4f450c2369762177a;hb=131844b7560952b4f8e1cb8628d9115e0f2f29d2;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910 diff --git a/lib-src/wakeup.c b/lib-src/wakeup.c index 979bd82..a971087 100644 --- a/lib-src/wakeup.c +++ b/lib-src/wakeup.c @@ -1,23 +1,25 @@ /* Program to produce output at regular intervals. */ -#include <../src/config.h> +#include #if __STDC__ || defined(STDC_HEADERS) #include +#ifdef HAVE_UNISTD_H #include #endif +#endif #include #include -#ifdef WINDOWSNT +#ifdef WIN32_NATIVE #define WIN32_LEAN_AND_MEAN #include #undef sleep #define sleep(t) Sleep ((t) * 1000) #define getppid() (0) #undef HAVE_SYS_TIME_H -#endif /* WINDOWSNT */ +#endif /* WIN32_NATIVE */ #ifdef TIME_WITH_SYS_TIME #include