Skip to content

Commit

Permalink
Fix time.h inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanesser committed Apr 13, 2012
1 parent b477d16 commit 8d344af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions log.c
Expand Up @@ -36,6 +36,12 @@
#include <sys/socket.h>
#endif

#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#elif defined(PHP_WIN32)
#include "win32/time.h"
#endif

#if defined(PHP_WIN32) || defined(__riscos__) || defined(NETWARE)
#undef AF_UNIX
#endif
Expand Down

0 comments on commit 8d344af

Please sign in to comment.