From 4074d8b182c6f60335dab996339660d9bd0dd266 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 16 May 2017 11:00:37 +0000 Subject: Accommodate some broken GNU toolchains by including sys/types.h in sysdeps tests --- src/include/skalibs/nonposix.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') 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 -- cgit v1.3.1