From: Adam Lackorzynski Date: Sun, 3 Dec 2017 15:46:19 +0000 (+0100) Subject: Fix for gcc with no __has_include or __has_include_next support X-Git-Tag: 0.8.7~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9afc7100a1078e177ff68349446526efe6872618;p=thirdparty%2Flibbsd.git Fix for gcc with no __has_include or __has_include_next support Fixes: https://bugs.freedesktop.org/103396 Signed-off-by: Guillem Jover --- diff --git a/include/bsd/sys/cdefs.h b/include/bsd/sys/cdefs.h index 044f221..b4c8f30 100644 --- a/include/bsd/sys/cdefs.h +++ b/include/bsd/sys/cdefs.h @@ -25,10 +25,10 @@ */ #ifndef __has_include -#define __has_include 1 +#define __has_include(x) 1 #endif #ifndef __has_include_next -#define __has_include_next 1 +#define __has_include_next(x) 1 #endif #ifdef LIBBSD_OVERLAY