summaryrefslogtreecommitdiff
path: root/sol_compat.h
diff options
context:
space:
mode:
authorrichdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d>2006-09-03 12:50:46 +0000
committerrichdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d>2006-09-03 12:50:46 +0000
commitcebadcd9b0b9e7f515046aadbbf3003b4c3b8a97 (patch)
treee64dad827990da2b2069e741e973e3e32201c4fd /sol_compat.h
parente633500627c3263522e6322fe916e6556c4be32f (diff)
downloadportableumem-cebadcd9b0b9e7f515046aadbbf3003b4c3b8a97.tar.gz
sol_compat.h: Pull in <sys/time.h> for proto of gettimeofday (fixes warnings)
git-svn-id: https://labs.omniti.com/portableumem/trunk@25 1665872d-e22b-0410-9e5d-a57ad4215e6d
Diffstat (limited to 'sol_compat.h')
-rw-r--r--sol_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sol_compat.h b/sol_compat.h
index f419fb6..6b670ce 100644
--- a/sol_compat.h
+++ b/sol_compat.h
@@ -11,6 +11,10 @@
#include <stdint.h>
#include <pthread.h>
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#ifdef _WIN32
# define THR_RETURN DWORD
# define THR_API WINAPI