diff --git a/configure.ac b/configure.ac index bc2f1c50..5631eb00 100644 --- a/configure.ac +++ b/configure.ac @@ -497,6 +497,7 @@ dnl ###################################################################### AC_CHECK_LIB(m, sqrt) AC_CHECK_LIB(rt, clock_gettime) +AC_CHECK_LIB(pthread, clock_gettime) AC_CHECK_LIB(dl, dlopen) dnl ###################################################################### diff --git a/libutils/platform.h b/libutils/platform.h index 80eac96a..3196902f 100644 --- a/libutils/platform.h +++ b/libutils/platform.h @@ -191,10 +191,6 @@ struct utsname # define IPV6_V6ONLY 27 # endif -// Not available in MinGW headers unless you raise WINVER and _WIN32_WINNT, but -// that is very badly supported in MinGW ATM. -ULONGLONG WINAPI GetTickCount64(void); - #else /* !__MINGW32__ */ # include #endif diff --git a/libutils/signal_lib.h b/libutils/signal_lib.h index 35a1752e..43c0e955 100644 --- a/libutils/signal_lib.h +++ b/libutils/signal_lib.h @@ -1,3 +1,5 @@ +#include + static inline void MaskTerminationSignalsInThread() { /* Mask termination signals in a thread so that they always end up in the