From aee7162a48fb6be93faf0e6f74b8266377369a5e Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Sat, 27 Feb 2016 03:18:43 +0100 Subject: [PATCH] Don't include for NetBSD We needed it for the BSD symbol to be defined, while __NetBSD__ is defined with a compiler. Thanks Andy Green for the initial fix. Signed-off-by: Kamil Rytarowski --- lib/libwebsockets.h | 1 - test-server/fuzxy.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 872cd476f..f62474750 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -141,7 +141,6 @@ struct sockaddr_in; #include #if defined(__NetBSD__) -#include #include #endif diff --git a/test-server/fuzxy.c b/test-server/fuzxy.c index 14873bf59..03024b725 100644 --- a/test-server/fuzxy.c +++ b/test-server/fuzxy.c @@ -63,7 +63,6 @@ #endif #if defined(__NetBSD__) -#include #include #endif @@ -958,4 +957,3 @@ bail1: return 0; } -