From 2f8f424f215fcd2c1c830af2b0da70517c8164b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Thu, 8 May 2014 19:22:59 +0200 Subject: [PATCH] Avoid redefining HAVE_SYS_TIME_H by IAXClient --- 3rdparty/iaxclient/lib/unixfuncs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3rdparty/iaxclient/lib/unixfuncs.c b/3rdparty/iaxclient/lib/unixfuncs.c index be8dc6e5a..ad50b82cb 100644 --- a/3rdparty/iaxclient/lib/unixfuncs.c +++ b/3rdparty/iaxclient/lib/unixfuncs.c @@ -20,15 +20,15 @@ #include #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 +#endif #if TIME_WITH_SYS_TIME # include # include #else -# if HAVE_SYS_TIME_H +# ifdef HAVE_SYS_TIME_H # include # else # include