From 95e7d4ca21895a6dc2f1e07fa160d103566cd166 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Thu, 1 Dec 2011 05:30:26 +0000 Subject: [PATCH] fceux-server: fix build errors for BSD --- fceux-server/server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fceux-server/server.cpp b/fceux-server/server.cpp index 1cdfa5de..9f5f2a64 100644 --- a/fceux-server/server.cpp +++ b/fceux-server/server.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -49,7 +50,7 @@ #define DEFAULT_CONFIG "/etc/fceu-server.conf" // MSG_NOSIGNAL and SOL_TCP have been depreciated on osx -#ifdef __APPLE__ +#if defined (__APPLE__) || defined(BSD) #define MSG_NOSIGNAL SO_NOSIGPIPE #define SOL_TCP IPPROTO_TCP #endif