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/encparse.c | |
parent | 26ae989526a2c931d15a4c4ae2e84ab627bc0009 (diff) | |
download | xorg-lib-libfontenc-f7f8c9af5773c3c73a635308054872b49c5bbe94.tar.gz |
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/encparse.c')
-rw-r--r-- | src/encparse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encparse.c b/src/encparse.c index b50b193..7c29628 100644 --- a/src/encparse.c +++ b/src/encparse.c @@ -27,6 +27,10 @@ THE SOFTWARE. hand, we do use strcasecmp, but only on strings that we've checked to be pure ASCII. Bloody ``Code Set Independence''. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <string.h> #include <strings.h> #include <stdio.h> |