mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08: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:
parent
52cc7c59b5
commit
af40bbfa99
1 changed files with 12 additions and 1 deletions
|
|
@ -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 ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue