about summary refs log tree commit diff
path: root/argp/argp-xinl.c
diff options
context:
space:
mode:
Diffstat (limited to 'argp/argp-xinl.c')
-rw-r--r--argp/argp-xinl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/argp/argp-xinl.c b/argp/argp-xinl.c
index 3710f6f493..2431093ea3 100644
--- a/argp/argp-xinl.c
+++ b/argp/argp-xinl.c
@@ -22,7 +22,9 @@
 #include <config.h>
 #endif
 
-#include <features.h>
+#if defined _LIBC || defined HAVE_FEATURES_H
+# include <features.h>
+#endif
 
 #ifndef __USE_EXTERN_INLINES
 # define __USE_EXTERN_INLINES	1