]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Remove <features.h> inclusion from <bsd/libutil.h>
authorGuillem Jover <guillem@hadrons.org>
Tue, 6 Mar 2018 00:42:52 +0000 (01:42 +0100)
committerGuillem Jover <guillem@hadrons.org>
Tue, 13 Mar 2018 01:28:53 +0000 (02:28 +0100)
This is a non-portable header, and we should not assume it is present.
Let the first system header pull it in if needed.

include/bsd/libutil.h

index ccca29a0ace355ef1014e7f655e161cbf8763f74..e5f148ace6b7c56a647ca39a9cd2340a374701d2 100644 (file)
@@ -39,7 +39,6 @@
 #ifndef LIBBSD_LIBUTIL_H
 #define LIBBSD_LIBUTIL_H
 
-#include <features.h>
 #ifdef LIBBSD_OVERLAY
 #include <sys/cdefs.h>
 #else