summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorStefan Esser2012-04-13 16:23:05 +0200
committerStefan Esser2012-04-13 16:23:05 +0200
commit8d344afb9c1d0e3b0fa061960e8c21d5695d049d (patch)
tree6702712768fba15ea2550da156a93f329a39d359 /log.c
parentb477d16f2cce7ba44dd4072c269d86059b4e3ca4 (diff)
Fix time.h inclusion
Diffstat (limited to 'log.c')
-rw-r--r--log.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/log.c b/log.c
index 7268864..7283c86 100644
--- a/log.c
+++ b/log.c
@@ -36,6 +36,12 @@
36#include <sys/socket.h> 36#include <sys/socket.h>
37#endif 37#endif
38 38
39#ifdef HAVE_SYS_TIME_H
40#include <sys/time.h>
41#elif defined(PHP_WIN32)
42#include "win32/time.h"
43#endif
44
39#if defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE) 45#if defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE)
40#undef AF_UNIX 46#undef AF_UNIX
41#endif 47#endif