1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 07:54:13 +00:00

xrdopt always needs unistd.h, so don't conditionally include it. (#59)

This commit is contained in:
Bruce Mitchener 2020-12-15 13:21:54 +07:00 committed by GitHub
parent bdb7e584b6
commit cbcb544e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,14 +17,12 @@ static char *id = "$Id: xrdopt.c,v 1.6 2001/12/26 22:17:07 sybalsky Exp $ Copyri
#include <string.h>
#include <sys/file.h>
#include <sys/time.h>
#include <unistd.h>
#ifndef NOETHER
#ifndef USE_DLPI
#include <net/nit.h> /* needed for Ethernet stuff below */
#endif /* USE_DLPI */
#endif /* NOETHER */
#if defined(SYSVONLY) || defined(OS5) || defined(MACOSX)
#include <unistd.h>
#endif /* SYSVONLY */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xresource.h>