Bug #279 » 0001-Guard-sys-time.h-include-with-HAVE_SYS_TIME_H.patch
| src/os/posix/gwentime.c | ||
|---|---|---|
|
#include <gwenhywfar/misc.h>
|
||
|
#include <gwenhywfar/debug.h>
|
||
|
#include <sys/time.h>
|
||
|
#ifdef HAVE_SYS_TIME_H
|
||
|
# include <sys/time.h>
|
||
|
#endif
|
||
|
#include <time.h>
|
||
|
#include <errno.h>
|
||
|
#include <string.h>
|
||
| src/os/posix/gwentime_p.h | ||
|---|---|---|
|
#include <gwenhywfar/gwentime.h>
|
||
|
#include <sys/time.h>
|
||
|
#ifdef HAVE_SYS_TIME_H
|
||
|
# include <sys/time.h>
|
||
|
#endif
|
||
|
#include <time.h>
|
||
| src/os/posix/inetsocket.c | ||
|---|---|---|
|
#include <fcntl.h>
|
||
|
#include <string.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <sys/time.h>
|
||
|
#ifdef HAVE_SYS_TIME_H
|
||
|
# include <sys/time.h>
|
||
|
#endif
|
||
|
#include <sys/un.h>
|
||
|
#include <sys/types.h>
|
||
| src/os/posix/process.c | ||
|---|---|---|
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <sys/time.h>
|
||
|
#ifdef HAVE_SYS_TIME_H
|
||
|
# include <sys/time.h>
|
||
|
#endif
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/wait.h>
|
||
|
#ifdef HAVE_UNISTD_H
|
||
| src/os/windows/inetsocket.c | ||
|---|---|---|
|
#include <fcntl.h>
|
||
|
#include <string.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <sys/time.h>
|
||
|
#ifdef HAVE_SYS_TIME_H
|
||
|
# include <sys/time.h>
|
||
|
#endif
|
||