From cbcb544e02ac7631b68e31afd58200752ff96738 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 15 Dec 2020 13:21:54 +0700 Subject: [PATCH] xrdopt always needs unistd.h, so don't conditionally include it. (#59) --- src/xrdopt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xrdopt.c b/src/xrdopt.c index b9c9ca3..78eb0a2 100644 --- a/src/xrdopt.c +++ b/src/xrdopt.c @@ -17,14 +17,12 @@ static char *id = "$Id: xrdopt.c,v 1.6 2001/12/26 22:17:07 sybalsky Exp $ Copyri #include #include #include +#include #ifndef NOETHER #ifndef USE_DLPI #include /* needed for Ethernet stuff below */ #endif /* USE_DLPI */ #endif /* NOETHER */ -#if defined(SYSVONLY) || defined(OS5) || defined(MACOSX) -#include -#endif /* SYSVONLY */ #include #include #include