summaryrefslogtreecommitdiffstats
path: root/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2002-08-19 10:41:11 +0000
committerdscho <dscho>2002-08-19 10:41:11 +0000
commit598c460ceb842d0cf9df89f93642a1594f35b993 (patch)
tree6dc08fdcc2a9065fb9f75e759b725c1cf7c372e0 /rfb.h
parentfde8958dc5e4e226a76ae0a26d751b6f185cf7ee (diff)
downloadlibtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.tar.gz
libtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.zip
unwarn compilation
Diffstat (limited to 'rfb.h')
-rw-r--r--rfb.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/rfb.h b/rfb.h
index 98dc004..29fe7d3 100644
--- a/rfb.h
+++ b/rfb.h
@@ -45,12 +45,9 @@ typedef CARD32 Pixel;
/* typedef CARD32 KeySym; */
typedef unsigned long KeySym;
#define SIGNED signed
-/* for some strange reason, "typedef signed char Bool;" yields a four byte
- signed int on IRIX, but only for rfbserver.o!!! */
-#ifdef Bool
-#undef Bool
-#endif
-#define Bool signed char
+
+typedef signed char Bool;
+
#undef FALSE
#define FALSE 0
#undef TRUE
@@ -90,6 +87,10 @@ typedef unsigned long KeySym;
#include <sys/endian.h>
#endif
+#ifdef __sgi__
+typedef int socklen_t;
+#endif
+
#ifndef _BYTE_ORDER
#define _BYTE_ORDER __BYTE_ORDER
#endif