diff options
| author | Stefan Esser | 2012-04-13 16:23:05 +0200 |
|---|---|---|
| committer | Stefan Esser | 2012-04-13 16:23:05 +0200 |
| commit | 8d344afb9c1d0e3b0fa061960e8c21d5695d049d (patch) | |
| tree | 6702712768fba15ea2550da156a93f329a39d359 /log.c | |
| parent | b477d16f2cce7ba44dd4072c269d86059b4e3ca4 (diff) | |
Fix time.h inclusion
Diffstat (limited to 'log.c')
| -rw-r--r-- | log.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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 |
