Skip to content

Commit 9aeac67

Browse files
Only include stropts.h on Solaris. (#125)
1 parent 1b9a90a commit 9aeac67

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/xinit.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@
3636
#include <sys/ioctl.h>
3737
#include <sys/select.h>
3838

39-
#ifndef LINUX
40-
#ifndef MACOSX
41-
#ifndef FREEBSD
39+
#ifdef OS5
4240
#include <stropts.h>
43-
#endif /* FREEBSD */
44-
#endif /* MACOSX */
45-
#endif /* LINUX */
41+
#endif /* OS5 */
4642

4743
#define FALSE 0
4844
#define TRUE !FALSE

0 commit comments

Comments
 (0)