3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Nginx, Inc.
8 #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_
9 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
16 #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */
18 #include <sys/types.h>
22 #include <stddef.h> /* offsetof() */
33 #include <sys/statvfs.h> /* statvfs() */
35 #include <sys/filio.h> /* FIONBIO */
42 #include <sys/resource.h>
45 #include <sys/socket.h>
46 #include <netinet/in.h>
47 #include <netinet/tcp.h> /* TCP_NODELAY */
48 #include <arpa/inet.h>
52 #include <sys/systeminfo.h>
53 #include <limits.h> /* IOV_MAX */
57 #define NGX_ALIGNMENT _MAX_ALIGNMENT
59 #include <ngx_auto_config.h>
62 #if (NGX_HAVE_POSIX_SEM)
63 #include <semaphore.h>
72 #if (NGX_HAVE_DEVPOLL)
73 #include <sys/ioctl.h>
74 #include <sys/devpoll.h>
78 #if (NGX_HAVE_EVENTPORT)
83 #if (NGX_HAVE_SENDFILE)
84 #include <sys/sendfile.h>
88 #define NGX_LISTEN_BACKLOG 511
91 #ifndef NGX_HAVE_INHERITED_NONBLOCK
92 #define NGX_HAVE_INHERITED_NONBLOCK 1
96 #ifndef NGX_HAVE_SO_SNDLOWAT
97 /* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */
98 #define NGX_HAVE_SO_SNDLOWAT 0
102 #define NGX_HAVE_OS_SPECIFIC_INIT 1
103 #define ngx_debug_init()
106 extern char **environ
;
109 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */