summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unix.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-06-26 19:58:43 +0300
committerMax Romanov <max.romanov@nginx.com>2017-06-26 19:58:43 +0300
commitb53b7b0413d4898b9bd73cd30e8d433b8893a66d (patch)
tree984fba281456d62f0803ab9b726a448ad7fba6d9 /src/nxt_unix.h
parent9399a04121c054433ba3247523487d94ba9db2ba (diff)
downloadunit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.gz
unit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.bz2
Build on Solaris 11 fixed.
Diffstat (limited to '')
-rw-r--r--src/nxt_unix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_unix.h b/src/nxt_unix.h
index 8bcc8825..21096e31 100644
--- a/src/nxt_unix.h
+++ b/src/nxt_unix.h
@@ -63,7 +63,9 @@
#if (NXT_SOLARIS)
+#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64 /* Must be before <sys/types.h>. */
+#endif
#ifndef _REENTRANT /* May be set by "-mt" options. */
#define _REENTRANT /* Thread safe errno. */