summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-11-01 21:58:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2018-11-01 21:58:31 -0400
commit2c4d653df0ae16bb221eb2a08314a051301236b5 (patch)
tree6ec84985a75d75de3934114f5351e12bbe0e3d23 /util.c
parent8c3b9aaaab11be9d0fe24a72ebb16e171ca22125 (diff)
downloadbfs-2c4d653df0ae16bb221eb2a08314a051301236b5.tar.xz
util: Wrap __has_include()
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 64785be..7f68e7c 100644
--- a/util.c
+++ b/util.c
@@ -30,7 +30,7 @@
#include <sys/types.h>
#include <unistd.h>
-#if __GLIBC__ || __has_include(<sys/sysmacros.h>)
+#if __GLIBC__ || BFS_HAS_INCLUDE(<sys/sysmacros.h>)
# include <sys/sysmacros.h>
#endif