mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-23 18:42:30 +01:00
Only use <stdio_ext.h> if present
This commit is contained in:
parent
06e8a1b29b
commit
a5faf17090
@ -173,6 +173,7 @@ AC_CHECK_HEADERS([\
|
|||||||
dirent.h \
|
dirent.h \
|
||||||
pwd.h \
|
pwd.h \
|
||||||
grp.h \
|
grp.h \
|
||||||
|
stdio_ext.h \
|
||||||
])
|
])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#if HAVE_STDIO_EXT_H
|
||||||
#include <stdio_ext.h>
|
#include <stdio_ext.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE___FPURGE
|
#ifdef HAVE___FPURGE
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user