diff options
Diffstat (limited to 'src/base/vnc')
-rw-r--r-- | src/base/vnc/vncserver.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/base/vnc/vncserver.cc b/src/base/vnc/vncserver.cc index 77a4316ab..6dc2f2f10 100644 --- a/src/base/vnc/vncserver.cc +++ b/src/base/vnc/vncserver.cc @@ -44,16 +44,24 @@ #include <sys/ioctl.h> #include <sys/stat.h> + +#if defined(__FreeBSD__) +#include <termios.h> + +#else #include <sys/termios.h> -#include <sys/types.h> + +#endif +#include "base/vnc/vncserver.hh" + #include <fcntl.h> #include <poll.h> +#include <sys/types.h> #include <unistd.h> #include <cerrno> #include <cstdio> -#include "base/vnc/vncserver.hh" #include "base/atomicio.hh" #include "base/bitmap.hh" #include "base/misc.hh" |