summaryrefslogtreecommitdiff
path: root/Xtrans.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-08-07 10:23:19 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-07 10:23:19 -0400
commit339ddc413559d4cb117a72f87b2a70dae6911c32 (patch)
tree913f8e391c8ba334794c779367e7aa0d6cdd8387 /Xtrans.h
parenta78b9819cbbbddccb4a6bf364b88ec4f27d25c1f (diff)
Massive ifdef cleanup, dropping a ton of unsupported platform code.
Diffstat (limited to 'Xtrans.h')
-rw-r--r--Xtrans.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/Xtrans.h b/Xtrans.h
index 42def32..4588ffe 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -54,11 +54,7 @@ from The Open Group.
#include <X11/Xos.h>
#ifndef WIN32
-#ifndef Lynx
#include <sys/socket.h>
-#else
-#include <socket.h>
-#endif
#endif
@@ -194,7 +190,7 @@ typedef long BytesReadable_t;
#endif
-#if defined(WIN32) || (defined(USG) && !defined(CRAY) && !defined(umips) && !defined(MOTOROLA) && !defined(uniosu) && !defined(__sxg__))
+#if defined(WIN32) || defined(USG)
/*
* TRANS(Readv) and TRANS(Writev) use struct iovec, normally found
@@ -208,11 +204,7 @@ struct iovec {
};
#else
-#ifndef Lynx
#include <sys/uio.h>
-#else
-#include <uio.h>
-#endif
#endif
typedef struct _XtransConnInfo *XtransConnInfo;