aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render.c b/render.c
index c64692b8..71d54f4c 100644
--- a/render.c
+++ b/render.c
@@ -9,7 +9,9 @@
#include <sys/timerfd.h>
#include <sys/epoll.h>
#include <pthread.h>
-#if __has_include(<pthread_np.h>)
+
+#include "macros.h"
+#if HAS_INCLUDE(<pthread_np.h>)
#include <pthread_np.h>
#define pthread_setname_np(thread, name) (pthread_set_name_np(thread, name), 0)
#elif defined(__NetBSD__)