From 5241c7166821c988bb88d971001e89eaa50312a6 Mon Sep 17 00:00:00 2001 From: Eric Simpson Date: Tue, 13 Oct 2020 12:55:05 -0400 Subject: [PATCH] do not require sys/syscall.h on non-linux platforms In order to build util-linux on other platforms (such as IBM i), do not require the linux-specific sys/syscall.h. --- lib/randutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/randutils.c b/lib/randutils.c index bd2a8f6bf3..84c0021873 100644 --- a/lib/randutils.c +++ b/lib/randutils.c @@ -13,9 +13,9 @@ #include #include #include - +#ifdef __linux__ #include - +#endif #include "c.h" #include "randutils.h" #include "nls.h" -- 2.47.2