diff options
Diffstat (limited to 'lib/fwritable.h')
-rw-r--r-- | lib/fwritable.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/fwritable.h b/lib/fwritable.h index 509e069528..fb9c871efa 100644 --- a/lib/fwritable.h +++ b/lib/fwritable.h @@ -24,7 +24,9 @@ #if HAVE___FWRITABLE /* glibc >= 2.2, Solaris >= 7, Cygwin >= 1.7.34, Android API >= 23, musl libc */ -# include <stdio_ext.h> +# if HAVE_STDIO_EXT_H +# include <stdio_ext.h> +# endif # define fwritable(stream) (__fwritable (stream) != 0) #else |