Drop a bunch of #ifdef Lynx.

This commit is contained in:
Mathieu Bérard
2008-07-17 11:59:24 -04:00
committed by Adam Jackson
parent af2138bfce
commit 47833eef35
22 changed files with 18 additions and 162 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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