summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.h
diff options
context:
space:
mode:
authordscho <dscho>2005-03-07 15:25:36 +0000
committerdscho <dscho>2005-03-07 15:25:36 +0000
commitcef6224e1cff403fd18ab2fe6c88cd1b0363e4e9 (patch)
tree59ebb6f4d8eb1d4766532544b0011b9453984f23 /rfb/rfbproto.h
parenta86e7fed5f29fe20f4eb5855db567d7699b6f073 (diff)
downloadlibtdevnc-cef6224e1cff403fd18ab2fe6c88cd1b0363e4e9.tar.gz
libtdevnc-cef6224e1cff403fd18ab2fe6c88cd1b0363e4e9.zip
do the in_addr_t stuff correctly...
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r--rfb/rfbproto.h4
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