Avoid redefining HAVE_SYS_TIME_H by IAXClient
This commit is contained in:
parent
b80b010ef1
commit
2f8f424f21
1 changed files with 4 additions and 4 deletions
8
3rdparty/iaxclient/lib/unixfuncs.c
vendored
8
3rdparty/iaxclient/lib/unixfuncs.c
vendored
|
@ -20,15 +20,15 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "iaxclient_lib.h"
|
#include "iaxclient_lib.h"
|
||||||
|
|
||||||
//#if (!defined(_MSC_VER) && !defined(HAVE_SYS_TIME_H))
|
#ifdef HAVE_CONFIG_H
|
||||||
#define HAVE_SYS_TIME_H 1
|
# include <config.h>
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
#if TIME_WITH_SYS_TIME
|
#if TIME_WITH_SYS_TIME
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
#else
|
#else
|
||||||
# if HAVE_SYS_TIME_H
|
# ifdef HAVE_SYS_TIME_H
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# else
|
# else
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue