summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_unix.h')
-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. */