diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-06-26 19:58:43 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-06-26 19:58:43 +0300 |
commit | b53b7b0413d4898b9bd73cd30e8d433b8893a66d (patch) | |
tree | 984fba281456d62f0803ab9b726a448ad7fba6d9 /src/nxt_unix.h | |
parent | 9399a04121c054433ba3247523487d94ba9db2ba (diff) | |
download | unit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.gz unit-b53b7b0413d4898b9bd73cd30e8d433b8893a66d.tar.bz2 |
Build on Solaris 11 fixed.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_unix.h | 2 |
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. */ |