summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-02-19 13:55:06 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-02-19 13:56:01 +0100
commit260fcf2fd0edee2463f19ad73d0d7ed6b83a0296 (patch)
tree78b7d33ee100666004771b94b2ba46f4ce63707f
parent8863dad38877d0455618fb9f39d87f19b8cb22f2 (diff)
downloadfribid-260fcf2fd0edee2463f19ad73d0d7ed6b83a0296.tar.gz
fribid-260fcf2fd0edee2463f19ad73d0d7ed6b83a0296.tar.bz2
fribid-260fcf2fd0edee2463f19ad73d0d7ed6b83a0296.zip
Fixed a compilation problem on BSD
This patch is based on a patch from Markus Bergkvist.
-rw-r--r--client/posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/posix.c b/client/posix.c
index fce5e77..160a2e0 100644
--- a/client/posix.c
+++ b/client/posix.c
@@ -39,6 +39,8 @@
#include <netdb.h>
#include <sys/ioctl.h>
#include <assert.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
#include "../common/defines.h"
#include "platform.h"