@ -31,7 +31,9 @@
#endif
#include <stdio.h>
#include <stdlib.h>
#ifdef LIBVNCSERVER_HAVE_UNISTD_H
#include <unistd.h>
#include <rfb/rfbproto.h>
#include "d3des.h"
@ -25,7 +25,9 @@
#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
#if LIBVNCSERVER_HAVE_UNISTD_H
#include <sys/types.h>
#ifdef WIN32
#define close closesocket
@ -34,7 +36,9 @@
#include <sys/wait.h>
#include <sys/utsname.h>
#if LIBVNCSERVER_HAVE_SYS_TIME_H
#include <sys/time.h>
#include <rfb/rfbclient.h>
/*
@ -30,7 +30,9 @@
# define _POSIX_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
@ -38,8 +38,12 @@
#include <string.h>
#include <rfb/keysym.h>