headers: include-what-you-use fixes
[debian/dhcpd-pools.git] / src / getopt.c
index 9f01d83..8f49931 100644 (file)
@@ -26,9 +26,7 @@
 # define _NO_PROTO
 #endif
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <features.h>
 
 #if !defined __STDC__ || !__STDC__
 /* This is a separate conditional since some stdc systems
@@ -38,8 +36,6 @@
 # endif
 #endif
 
-#include <stdio.h>
-
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
    Library, but also included in many other GNU distributions.  Compiling