summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-16 11:00:37 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-16 11:00:37 +0000
commit4074d8b182c6f60335dab996339660d9bd0dd266 (patch)
tree9c8050e25297b336fe4ab6a2dbc2ec23dabadaf7 /src/include
parent97e0a785c827577aada4a474d2616af00a7278f4 (diff)
downloadskalibs-4074d8b182c6f60335dab996339660d9bd0dd266.tar.xz
Accommodate some broken GNU toolchains by including sys/types.h in sysdeps tests
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/nonposix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/skalibs/nonposix.h b/src/include/skalibs/nonposix.h
index 56a428a..7f064d5 100644
--- a/src/include/skalibs/nonposix.h
+++ b/src/include/skalibs/nonposix.h
@@ -53,7 +53,8 @@
#endif
- /* old versions of BSD: system headers are not self-contained,
+ /* old versions of BSD and some broken GNU toolchains:
+ system headers are not self-contained,
starting with sys/types.h normally always works. */
#include <sys/types.h>