From 598c460ceb842d0cf9df89f93642a1594f35b993 Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 19 Aug 2002 10:41:11 +0000 Subject: unwarn compilation --- rfb.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'rfb.h') 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 #endif +#ifdef __sgi__ +typedef int socklen_t; +#endif + #ifndef _BYTE_ORDER #define _BYTE_ORDER __BYTE_ORDER #endif -- cgit v1.1