summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-22 14:15:46 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-01-22 14:41:47 -0600
commit30a565f80d6056ccabadf77e347cf17067133f7e (patch)
tree0dd358d4ae1b61387619569178659f4fc31c5011 /src
parent6e2fbf6a0fd04f2ba4afca8b7a2ef9af34ebf330 (diff)
downloadopenrc-30a565f80d6056ccabadf77e347cf17067133f7e.tar.gz
openrc-30a565f80d6056ccabadf77e347cf17067133f7e.tar.bz2
openrc-30a565f80d6056ccabadf77e347cf17067133f7e.tar.xz
Drop include for features.h
The following information is taken from the feature_test_macros man page: <features.h> is a Linux/glibc-specific header file. Other systems have an analogous file, but typically with a different name. This header file is automatically included by other header files as required: it is not necessary to explicitly include it in order to employ feature test macros. Reported-by: Tibor Vago <tibor.vago@gmail.com> X-Gentoo-Bug: 399635 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=399635
Diffstat (limited to 'src')
-rw-r--r--src/rc/checkpath.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 4ad4ea7..2afbe90 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -32,7 +32,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <features.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>