diff options
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/tools')
-rw-r--r-- | Build/source/libs/freetype2/freetype-src/src/tools/ftrandom/ftrandom.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/tools/ftrandom/ftrandom.c b/Build/source/libs/freetype2/freetype-src/src/tools/ftrandom/ftrandom.c index ab62429787f..ff36d9daaa8 100644 --- a/Build/source/libs/freetype2/freetype-src/src/tools/ftrandom/ftrandom.c +++ b/Build/source/libs/freetype2/freetype-src/src/tools/ftrandom/ftrandom.c @@ -28,9 +28,13 @@ /* modified by Werner Lemberg <wl@gnu.org> */ /* This file is now part of the FreeType library */ - +/* Try Nelson's flag in Solaris */ +#if defined(__sun) +#define _XOPEN_SOURCE 600 +#define _XPG6 +#else #define _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */ - +#endif #include <stdio.h> #include <stdlib.h> |