3 * Copyright (C) Igor Sysoev
7 #ifndef _NGX_SOLARIS_CONFIG_H_INCLUDED_
8 #define _NGX_SOLARIS_CONFIG_H_INCLUDED_
15 #define _FILE_OFFSET_BITS 64 /* must be before <sys/types.h> */
17 #include <sys/types.h>
21 #include <stddef.h> /* offsetof() */
32 #include <sys/filio.h> /* FIONBIO */
39 #include <sys/resource.h>
42 #include <sys/socket.h>
43 #include <netinet/in.h>
44 #include <netinet/tcp.h> /* TCP_NODELAY */
45 #include <arpa/inet.h>
49 #include <sys/systeminfo.h>
50 #include <limits.h> /* IOV_MAX */
54 #define NGX_ALIGNMENT _MAX_ALIGNMENT
56 #include <ngx_auto_config.h>
64 #if (NGX_HAVE_SENDFILE)
65 #include <sys/sendfile.h>
74 #if (NGX_HAVE_DEVPOLL)
75 #include <sys/ioctl.h>
76 #include <sys/devpoll.h>
80 #if (NGX_HAVE_EVENTPORT)
85 #define NGX_LISTEN_BACKLOG 511
88 #ifndef NGX_HAVE_INHERITED_NONBLOCK
89 #define NGX_HAVE_INHERITED_NONBLOCK 1
93 #ifndef NGX_HAVE_SO_SNDLOWAT
94 /* setsockopt(SO_SNDLOWAT) returns ENOPROTOOPT */
95 #define NGX_HAVE_SO_SNDLOWAT 0
99 #define NGX_HAVE_OS_SPECIFIC_INIT 1
102 extern char **environ;
105 #endif /* _NGX_SOLARIS_CONFIG_H_INCLUDED_ */