From fa73aac7747c9d0a8575eb2beffcdab50171e006 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 21 May 2003 13:28:21 +0000 Subject: nginx-0.0.1-2003-05-21-17:28:21 import --- src/os/unix/ngx_solaris_config.h | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src/os/unix/ngx_solaris_config.h (limited to 'src/os/unix/ngx_solaris_config.h') diff --git a/src/os/unix/ngx_solaris_config.h b/src/os/unix/ngx_solaris_config.h new file mode 100644 index 000000000..1545fc914 --- /dev/null +++ b/src/os/unix/ngx_solaris_config.h @@ -0,0 +1,64 @@ +#ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_ +#define _NGX_SOLARIS_CONFIG_H_INCLUDED_ + + +#define SOLARIS 1 + +#define _FILE_OFFSET_BITS 64 /* must be before sys/types.h */ + +#include +#include /* offsetof */ +#include +#include +#include +#include +#include +#include +#include +#include /* bzero() */ +#include +#include /* FIONBIO */ +#include /* INFTIM */ +#include +#include +#include +#include +#include +#include +#include +#include + + +typedef uint32_t u_int32_t; + + +#ifndef HAVE_SELECT +#define HAVE_SELECT 1 +#endif + + +#ifndef HAVE_POLL +#define HAVE_POLL 1 +#endif +#if (HAVE_POLL) +#include +#endif + + +#if (HAVE_AIO) +#include +#endif + + +#if (HAVE_DEVPOLL) +#include +#include +#endif + + +#ifndef HAVE_INHERITED_NONBLOCK +#define HAVE_INHERITED_NONBLOCK 1 +#endif + + +#endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */ -- cgit