commit 6005c95ee6086dd5dfee445cd18645ca0e2dce7c
parent d9e2eb7a6540273b45020fed869ba0ad2d157688
Author: Joris Vink <joris@coders.se>
Date: Fri, 12 Dec 2014 19:09:44 +0100
Fix compiling under openbsd
Diffstat:
src/net.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/net.c b/src/net.c
@@ -26,6 +26,10 @@
#include <sys/endian.h>
#endif
+#if defined(OpenBSD)
+#define be64toh(x) betoh64(x)
+#endif
+
#include "kore.h"
struct kore_pool nb_pool;