From ec550d8a78930b4227993b72b539a0044d6609bf Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 18 Mar 2024 18:41:18 +0000 Subject: internals: slbt_realpath(): SYS___realpathat: avoid re-definition of syscall(). --- src/internal/slibtool_realpath_impl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/internal') diff --git a/src/internal/slibtool_realpath_impl.c b/src/internal/slibtool_realpath_impl.c index 4e586a8..63fc3c4 100644 --- a/src/internal/slibtool_realpath_impl.c +++ b/src/internal/slibtool_realpath_impl.c @@ -18,6 +18,7 @@ #ifdef HAVE_SYS_SYSCALL_H #include +#include #endif #ifdef _MIDIPIX_ABI @@ -28,10 +29,6 @@ #define ENOTSUP EOPNOTSUPP #endif -#ifdef SYS___realpathat -extern long syscall(int, ...); -#endif - slbt_hidden int slbt_realpath( int fdat, const char * path, -- cgit v1.2.3