diff --git a/src/xercesc/util/PlatformUtils.cpp b/src/xercesc/util/PlatformUtils.cpp index ff1ff85bb45584e391425efdc74db1657b1fe5a7..fc73582d696c636e2b2718988c7a60d88674dc8f 100644 --- a/src/xercesc/util/PlatformUtils.cpp +++ b/src/xercesc/util/PlatformUtils.cpp @@ -34,7 +34,7 @@ #if HAVE_SYS_TIME_H # include <sys/time.h> #endif -#if HAVE_SYS_TIMEB_H +#if !HAVE_GETTIMEOFDAY && HAVE_SYS_TIMEB_H # include <sys/timeb.h> #endif #if HAVE_CPUID_H && !XERCES_HAVE_INTRIN_H