diff options
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |