diff options
Diffstat (limited to 'src/s/sol2-5.h')
| -rw-r--r-- | src/s/sol2-5.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h index ffb3c2d5528..d80c22b37ba 100644 --- a/src/s/sol2-5.h +++ b/src/s/sol2-5.h | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | /* Handle Solaris 2.5. */ | 1 | /* Handle Solaris 2.5. */ |
| 2 | 2 | ||
| 3 | /* Enable large-file support if available (Solaris 2.6 and later). | ||
| 4 | Do this before including any system include file. */ | ||
| 5 | #ifndef _LARGEFILE_SOURCE | ||
| 6 | #define _LARGEFILE_SOURCE 1 | ||
| 7 | #endif | ||
| 8 | #ifndef _FILE_OFFSET_BITS | ||
| 9 | #define _FILE_OFFSET_BITS 64 | ||
| 10 | #endif | ||
| 11 | |||
| 3 | #include "sol2-4.h" | 12 | #include "sol2-4.h" |
| 4 | 13 | ||
| 5 | /* -lgen is needed for the regex and regcmp functions | 14 | /* -lgen is needed for the regex and regcmp functions |