1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 12:22:24 +00:00

Remove an include, make one only for Solaris. (#200)

* unixfork: Remove an include, make one only for Solaris.

* xinit: Only include ioctl on Solaris.
This commit is contained in:
Bruce Mitchener
2021-01-11 08:22:23 +07:00
committed by GitHub
parent acc86a4df7
commit 589f7d34a9
2 changed files with 2 additions and 3 deletions

View File

@@ -24,8 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
@@ -35,6 +33,7 @@
#include <unistd.h>
#ifdef OS5
#include <sys/ioctl.h>
#include <sys/stropts.h>
#endif

View File

@@ -33,10 +33,10 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#ifdef OS5
#include <sys/ioctl.h>
#include <stropts.h>
#endif /* OS5 */