summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver/rfbserver.c')
-rw-r--r--libvncserver/rfbserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index 22bdc98..745589e 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -24,7 +24,9 @@
* USA.
*/
+#ifdef __STRICT_ANSI__
#define _BSD_SOURCE
+#endif
#include <string.h>
#include <rfb/rfb.h>
#include <rfb/rfbregion.h>