diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-02-24 17:31:46 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-24 17:31:46 +0000 |
commit | 48fef6654cc90e05004648423cb5dd7c6f7770f0 (patch) | |
tree | c61d52b4dddfb64e28de98bf402b96706f0be418 /src/os/unix/ngx_freebsd_config.h | |
parent | b54698b5798b7f1a54226274347ce1faee5a92a4 (diff) | |
download | nginx-48fef6654cc90e05004648423cb5dd7c6f7770f0.tar.gz nginx-48fef6654cc90e05004648423cb5dd7c6f7770f0.zip |
nginx-0.0.2-2004-02-24-20:31:46 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_config.h')
-rw-r--r-- | src/os/unix/ngx_freebsd_config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h index e447340a8..f0a8430fe 100644 --- a/src/os/unix/ngx_freebsd_config.h +++ b/src/os/unix/ngx_freebsd_config.h @@ -29,6 +29,7 @@ #include <grp.h> #include <netdb.h> #include <dirent.h> +#include <libutil.h> /* setproctitle() brefore 4.1 */ #include <osreldate.h> #include <ngx_auto_config.h> @@ -72,6 +73,12 @@ #endif +#if (__FreeBSD_version < 430000 || __FreeBSD_version < 500012) + +pid_t rfork_thread(int flags, void *stack, int (*func)(void *arg), void *arg); + +#endif + #ifndef IOV_MAX #define IOV_MAX 1024 #endif |