diff options
author | Raphael Kubo da Costa <[email protected]> | 2012-09-11 22:50:16 +0300 |
---|---|---|
committer | Christian Beier <[email protected]> | 2012-09-14 18:47:42 +0200 |
commit | 252f5d9c7c31bab054f80b5135a4ab91d1c5da66 (patch) | |
tree | f785b8f2ba989c2bcbb9135be43caecdf3b153f8 /libvncserver | |
parent | 95dd76327b79ff892b011876a959a8b8e40afe62 (diff) | |
download | libtdevnc-252f5d9c7c31bab054f80b5135a4ab91d1c5da66.tar.gz libtdevnc-252f5d9c7c31bab054f80b5135a4ab91d1c5da66.zip |
Add the required headers for read(2)
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/websockets.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libvncserver/websockets.c b/libvncserver/websockets.c index b8de5cd..f56b002 100644 --- a/libvncserver/websockets.c +++ b/libvncserver/websockets.c @@ -41,7 +41,12 @@ #include <sys/endian.h> #endif +#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + #include <string.h> +#include <unistd.h> #include "rfb/rfbconfig.h" #include "rfbssl.h" #include "rfbcrypto.h" |