From 1fad5bfb197a44241b8b7879f8520a651586b7da Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 1 Jul 2011 09:07:24 +0000
Subject: [PATCH] - Added define for OpenBSD (sys/endian.h)
---
library/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/net.c b/library/net.c
index fcfe4d796..85c4e7990 100644
--- a/library/net.c
+++ b/library/net.c
@@ -59,7 +59,7 @@ static int wsa_init_done = 0;
#include
#include
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include
#elif defined(__APPLE__)
#include