summaryrefslogtreecommitdiffhomepage
path: root/src/helper
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2023-09-04 01:46:02 +0000
committermidipix <writeonce@midipix.org>2023-09-04 01:46:02 +0000
commitf5e9b170bccbcec5d473f91a83c6cea8382a55cd (patch)
treef96c5d353a792ce1a64d21849a6319342b8bd585 /src/helper
parent8a57c043b684c2e2e9cd3bbb0c1f5707ce65f182 (diff)
downloadslibtool-f5e9b170bccbcec5d473f91a83c6cea8382a55cd.tar.bz2
slibtool-f5e9b170bccbcec5d473f91a83c6cea8382a55cd.tar.xz
helper interfaces: slbt_realpath(): utilize the header test for sys/syscall.h.
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/slbt_realpath.c2
1 files changed, 1 insertions, 1 deletions
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