Fix <sys/cdefs.h> for gcc with no __has_include or __has_include_next support

Fixes: https://bugs.freedesktop.org/103396
Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
Adam Lackorzynski 2017-12-03 16:46:19 +01:00 committed by Guillem Jover
parent 22fbd62368
commit 9afc7100a1

View File

@ -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