summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-11-23 18:33:42 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-11-23 18:33:42 +0100
commit21c19b3924a44ad284f284dcf3b6ed4cb8a710e7 (patch)
tree158a25beb0887e14c6d9587268f012049bb4e4dd /setup.cpp
parent0ce41c5a6c128c980be72985b6faf9e1f53ff5b9 (diff)
downloadvdr-plugin-live-21c19b3924a44ad284f284dcf3b6ed4cb8a710e7.tar.gz
vdr-plugin-live-21c19b3924a44ad284f284dcf3b6ed4cb8a710e7.tar.bz2
patch to compile with FreeBSD
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.cpp b/setup.cpp
index 2c56199..11ee6c5 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -10,6 +10,10 @@
#include <stdint.h>
#include <unistd.h>
#include <string>
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif
#include <arpa/inet.h>
#include <vdr/tools.h>
#include <vdr/menuitems.h>