Only use <stdio_ext.h> if present

This commit is contained in:
Guillem Jover 2023-04-01 12:46:49 +02:00
parent 06e8a1b29b
commit a5faf17090
2 changed files with 3 additions and 0 deletions

View File

@ -173,6 +173,7 @@ AC_CHECK_HEADERS([\
dirent.h \
pwd.h \
grp.h \
stdio_ext.h \
])
# Checks for typedefs, structures, and compiler characteristics.

View File

@ -26,7 +26,9 @@
#include <errno.h>
#include <stdio.h>
#if HAVE_STDIO_EXT_H
#include <stdio_ext.h>
#endif
#ifdef HAVE___FPURGE
int