diff --git a/examples/vncev.c b/examples/vncev.c index b185746..4051d2b 100644 --- a/examples/vncev.c +++ b/examples/vncev.c @@ -5,10 +5,11 @@ #ifdef __STRICT_ANSI__ #define _BSD_SOURCE #endif +#include #include #include #include -#ifndef __MINGW32__ +#if LIBVNCSERVER_HAVE_SYS_SOCKET_H #include #endif #include