summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/time.h')
-rw-r--r--pjlib/include/pj/compat/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/time.h b/pjlib/include/pj/compat/time.h
index 2a2bc397..3ec73a7d 100644
--- a/pjlib/include/pj/compat/time.h
+++ b/pjlib/include/pj/compat/time.h
@@ -28,9 +28,14 @@
# include <time.h>
#endif
+#if defined(PJ_HAS_SYS_TIME_H) && PJ_HAS_SYS_TIME_H != 0
+# include <sys/time.h>
+#endif
+
#if defined(PJ_HAS_SYS_TIMEB_H) && PJ_HAS_SYS_TIMEB_H != 0
# include <sys/timeb.h>
#endif
#endif /* __PJ_COMPAT_TIME_H__ */
+