Ensure that <features.h> is included before __GLIBC__ is tested.
[gnulib.git] / lib / printf-parse.h
index 6bd11df..eb5480b 100644 (file)
      ENABLE_UNISTDIO    Set to 1 to enable the unistdio extensions.
      STATIC             Set to 'static' to declare the function static.  */
 
+#if HAVE_FEATURES_H
+# include <features.h> /* for __GLIBC__, __UCLIBC__ */
+#endif
+
 #include "printf-args.h"