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 "iaxclient_lib.h"
|
||||
|
||||
//#if (!defined(_MSC_VER) && !defined(HAVE_SYS_TIME_H))
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
//#endif
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#else
|
||||
# if HAVE_SYS_TIME_H
|
||||
# ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# else
|
||||
# include <time.h>
|
||||
|
|
Loading…
Reference in a new issue