diff options
author | dscho <dscho> | 2002-05-03 10:14:53 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-05-03 10:14:53 +0000 |
commit | af41bea661790da0f47089f387f58ffec2c875ee (patch) | |
tree | 4d97202be51534c637dd79cc04a45a868f550ecb /rfb.h | |
parent | d7117b698cfd33f182000b69b16ea4f00cb7659c (diff) | |
download | libtdevnc-af41bea661790da0f47089f387f58ffec2c875ee.tar.gz libtdevnc-af41bea661790da0f47089f387f58ffec2c875ee.zip |
solaris fixes (INADDR_NONE)
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -81,7 +81,6 @@ typedef unsigned long KeySym; #define SIGNED #include <sys/types.h> /* typedef unsigned int pthread_t; */ -/* SUN cc seems to have problems with inclusion of sys/types! */ #elif defined(WIN32) #define _LITTLE_ENDIAN 1234 #define _BYTE_ORDER _LITTLE_ENDIAN @@ -111,6 +110,10 @@ typedef unsigned long KeySym; #define SOCKET int #endif +#ifndef INADDR_NONE +#define INADDR_NONE ((in_addr_t) 0xffffffff) +#endif + #ifdef HAVE_PTHREADS #include <pthread.h> #if 0 /* debugging */ |