X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7fb0d26fff30c25a95db79872d15f7f13d7997db..a09244e697aaa46751b22e2e823d32a167409d6c:/lib-src/wakeup.c diff --git a/lib-src/wakeup.c b/lib-src/wakeup.c index eb3dd72c95..389519ba1f 100644 --- a/lib-src/wakeup.c +++ b/lib-src/wakeup.c @@ -1,16 +1,32 @@ /* Program to produce output at regular intervals. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include +#include + +#ifdef TIME_WITH_SYS_TIME +#include +#include +#else +#ifdef HAVE_SYS_TIME_H +#include +#else #include +#endif +#endif struct tm *localtime (); +void main (argc, argv) int argc; char **argv; { int period = 60; - long when; + time_t when; struct tm *tp; if (argc > 1)