Drop a bunch of #ifdef Lynx.
This commit is contained in:
committed by
Adam Jackson
parent
af2138bfce
commit
47833eef35
@@ -76,11 +76,7 @@ SOFTWARE.
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef WIN32
|
||||
#ifndef Lynx
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <socket.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -177,11 +173,7 @@ SOFTWARE.
|
||||
#endif /* WIN32 */
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#ifndef Lynx
|
||||
#include <sys/param.h>
|
||||
#else
|
||||
#include <param.h>
|
||||
#endif
|
||||
#ifndef PATH_MAX
|
||||
#ifdef MAXPATHLEN
|
||||
#define PATH_MAX MAXPATHLEN
|
||||
|
||||
@@ -83,11 +83,7 @@ SOFTWARE.
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#if defined(Lynx)
|
||||
#include <socket.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#ifdef hpux
|
||||
#include <sys/utsname.h>
|
||||
@@ -128,11 +124,8 @@ SOFTWARE.
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#ifndef Lynx
|
||||
#include <sys/uio.h>
|
||||
#else
|
||||
#include <uio.h>
|
||||
#endif
|
||||
|
||||
#endif /* WIN32 */
|
||||
#include "misc.h" /* for typedef of pointer */
|
||||
#include "osdep.h"
|
||||
|
||||
4
os/io.c
4
os/io.c
@@ -70,11 +70,7 @@ SOFTWARE.
|
||||
#include <X11/Xmd.h>
|
||||
#include <errno.h>
|
||||
#if !defined(WIN32)
|
||||
#ifndef Lynx
|
||||
#include <sys/uio.h>
|
||||
#else
|
||||
#include <uio.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <X11/X.h>
|
||||
#define NEED_REPLIES
|
||||
|
||||
@@ -67,11 +67,11 @@ SOFTWARE.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(Lynx) || defined(__SCO__)
|
||||
#if defined(__SCO__)
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#if !defined(SYSV) && !defined(WIN32) && !defined(Lynx) && !defined(QNX4)
|
||||
#if !defined(SYSV) && !defined(WIN32) && !defined(QNX4)
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#ifndef WIN32
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
#if !defined(SYSV) && !defined(WIN32) && !defined(Lynx) && !defined(QNX4)
|
||||
#if !defined(SYSV) && !defined(WIN32) && !defined(QNX4)
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
@@ -295,11 +295,7 @@ OsSignal(sig, handler)
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#ifndef Lynx
|
||||
#include <sys/param.h>
|
||||
#else
|
||||
#include <param.h>
|
||||
#endif
|
||||
#ifndef PATH_MAX
|
||||
#ifdef MAXPATHLEN
|
||||
#define PATH_MAX MAXPATHLEN
|
||||
|
||||
@@ -24,12 +24,8 @@
|
||||
#include <X11/Xos.h>
|
||||
|
||||
#if !defined(WIN32)
|
||||
#ifndef Lynx
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <socket.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user