Commit b20272f5a966333b49fdf2bda797e2a9f0227404

Guillem Jover 2018-03-06T01:42:52

Remove <features.h> inclusion from <bsd/libutil.h> This is a non-portable header, and we should not assume it is present. Let the first system header pull it in if needed.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/bsd/libutil.h b/include/bsd/libutil.h
index ccca29a..e5f148a 100644
--- a/include/bsd/libutil.h
+++ b/include/bsd/libutil.h
@@ -39,7 +39,6 @@
 #ifndef LIBBSD_LIBUTIL_H
 #define LIBBSD_LIBUTIL_H
 
-#include <features.h>
 #ifdef LIBBSD_OVERLAY
 #include <sys/cdefs.h>
 #else