From 9aeac6759211b02bf510b696f42226163965c406 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 23 Dec 2020 14:09:42 +0700 Subject: [PATCH] Only include stropts.h on Solaris. (#125) --- src/xinit.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/xinit.c b/src/xinit.c index ab3ed10..4ad352b 100644 --- a/src/xinit.c +++ b/src/xinit.c @@ -36,13 +36,9 @@ #include #include -#ifndef LINUX -#ifndef MACOSX -#ifndef FREEBSD +#ifdef OS5 #include -#endif /* FREEBSD */ -#endif /* MACOSX */ -#endif /* LINUX */ +#endif /* OS5 */ #define FALSE 0 #define TRUE !FALSE