diff --git a/lib-src/wakeup.c b/lib-src/wakeup.c index 07c324d1210..e481bee8324 100644 --- a/lib-src/wakeup.c +++ b/lib-src/wakeup.c @@ -1,9 +1,20 @@ /* Program to produce output at regular intervals. */ +#include "config.h" + #include -#include #include + +#ifdef TIME_WITH_SYS_TIME #include +#include +#else +#ifdef HAVE_SYS_TIME_H +#include +#else +#include +#endif +#endif struct tm *localtime ();