From f5e9b170bccbcec5d473f91a83c6cea8382a55cd Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Mon, 4 Sep 2023 01:46:02 +0000
Subject: helper interfaces: slbt_realpath(): utilize the header test for
 sys/syscall.h.

---
 src/helper/slbt_realpath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/helper/slbt_realpath.c b/src/helper/slbt_realpath.c
index dc1b13b..6d74a82 100644
--- a/src/helper/slbt_realpath.c
+++ b/src/helper/slbt_realpath.c
@@ -14,7 +14,7 @@
 #include "slibtool_driver_impl.h"
 #include "slibtool_readlink_impl.h"
 
-#ifdef __unix__
+#ifdef HAVE_SYS_SYSCALL_H
 #include <sys/syscall.h>
 #endif
 
-- 
cgit v1.2.3