summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2021-09-07 18:49:36 -0700
committerWerner Lemberg <wl@gnu.org>2021-09-07 18:51:53 -0700
commit77dcc5ed6a414ce706167e6d96edccebd591ec48 (patch)
tree5acf7447d3644edf7226a4f5a45ef2b12623821b
parent7e26c7a6da8a2dffe16399d3d5548aa606b9b8c4 (diff)
downloadfreetype2-77dcc5ed6a414ce706167e6d96edccebd591ec48.tar.gz
src/tools/ftrandom/ftrandom.c (_XOPEN_SOURCE): Set to 600.
This allows C99 compilation on Solaris. Problem reported by Mojca Miklavec.
-rw-r--r--src/tools/ftrandom/ftrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ftrandom/ftrandom.c b/src/tools/ftrandom/ftrandom.c
index ab6242978..4f912cd21 100644
--- a/src/tools/ftrandom/ftrandom.c
+++ b/src/tools/ftrandom/ftrandom.c
@@ -29,7 +29,7 @@
/* This file is now part of the FreeType library */
-#define _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */
+#define _XOPEN_SOURCE 600 /* for `kill', `strdup', `random', and `srandom' */
#include <stdio.h>