Mercurial > hg > nginx-vendor-0-6
diff src/event/modules/ngx_eventport_module.c @ 370:9a242235a80a NGINX_0_6_29
nginx 0.6.29
*) Feature: the ngx_google_perftools_module.
*) Bugfix: the ngx_http_perl_module could be not built on 64-bit
platforms; bug appeared in 0.6.27.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 18 Mar 2008 00:00:00 +0300 |
parents | a39aab45a53f |
children |
line wrap: on
line diff
--- a/src/event/modules/ngx_eventport_module.c +++ b/src/event/modules/ngx_eventport_module.c @@ -40,6 +40,15 @@ typedef struct port_notify { void *portnfy_user; /* user defined */ } port_notify_t; +#if (__FreeBSD_version < 700005) + +typedef struct itimerspec { /* definition per POSIX.4 */ + struct timespec it_interval;/* timer period */ + struct timespec it_value; /* timer expiration */ +} itimerspec_t; + +#endif + int port_create(void) { return -1;