diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-30 08:21:01 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-30 08:21:01 -0700 |
commit | f7f8c9af5773c3c73a635308054872b49c5bbe94 (patch) | |
tree | e17c684ae7f4d8f21228d37205314c61d6f73706 /src/fontenc.c | |
parent | 26ae989526a2c931d15a4c4ae2e84ab627bc0009 (diff) |
include config.h before system headers
Makes sure any defines needed to expose functions like reallocarray()
are present on platforms that need them (_GNU_SOURCE, _OPENBSD_SOURCE,
__EXTENSIONS__, etc.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/fontenc.c')
-rw-r--r-- | src/fontenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fontenc.c b/src/fontenc.c index f5675d8..d0a43e8 100644 --- a/src/fontenc.c +++ b/src/fontenc.c @@ -22,6 +22,10 @@ THE SOFTWARE. /* Backend-independent encoding code */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <string.h> #include <strings.h> #include <stdlib.h> |