diff options
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r-- | rfb/rfbproto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index a6ff83f..29b4b08 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -84,6 +84,10 @@ typedef int8_t rfbBool; typedef uint32_t rfbKeySym; typedef uint32_t rfbPixel; +#ifdef LIBVNCSERVER_NEED_INADDR_T +typedef uint32_t in_addr_t; +#endif + #ifndef INADDR_NONE #define INADDR_NONE ((in_addr_t) 0xffffffff) #endif |