]> git.mxchange.org Git - flightgear.git/commitdiff
Avoid redefining HAVE_SYS_TIME_H by IAXClient
authorClément de l'Hamaide <clemaez@hotmail.fr>
Thu, 8 May 2014 17:22:59 +0000 (19:22 +0200)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Thu, 8 May 2014 17:22:59 +0000 (19:22 +0200)
3rdparty/iaxclient/lib/unixfuncs.c

index be8dc6e5ac9033a9a512175fa672860da841062a..ad50b82cbcfa6f1787a3ba3ad0b71d66a6e9d346 100644 (file)
 #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>