Skip to content

Commit

Permalink
Events: fixed test building with eventport on OS X.
Browse files Browse the repository at this point in the history
Broken in d17f0584006f (1.9.13).
  • Loading branch information
mdocguard committed Mar 30, 2016
1 parent 7ad57da commit dd5628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/modules/ngx_eventport_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ typedef struct port_notify {
void *portnfy_user; /* user defined */
} port_notify_t;

#if (__FreeBSD__) && (__FreeBSD_version < 700005)
#if (__FreeBSD__ && __FreeBSD_version < 700005) || (NGX_DARWIN)

typedef struct itimerspec { /* definition per POSIX.4 */
struct timespec it_interval;/* timer period */
Expand Down

0 comments on commit dd5628f

Please sign in to comment.