1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

* wakeup.c: Use CPP tangle from autoconf manual to #include the

correct combination of <time.h> and <sys/time.h>.
This commit is contained in:
Jim Blandy 1993-07-18 06:13:07 +00:00
parent 52cc7c59b5
commit af40bbfa99

View File

@ -1,9 +1,20 @@
/* Program to produce output at regular intervals. */
#include "config.h"
#include <stdio.h>
#include <time.h>
#include <sys/types.h>
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif
struct tm *localtime ();