]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Fix <sys/cdefs.h> for gcc with no __has_include or __has_include_next support
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Sun, 3 Dec 2017 15:46:19 +0000 (16:46 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sat, 13 Jan 2018 15:17:10 +0000 (16:17 +0100)
Fixes: https://bugs.freedesktop.org/103396
Signed-off-by: Guillem Jover <guillem@hadrons.org>
include/bsd/sys/cdefs.h

index 044f2218841f207c1d05edd3af0d7f541c271a85..b4c8f303ea15303fc17f437b436563a1ae896559 100644 (file)
  */
 
 #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