Fix compiling under openbsd

This commit is contained in:
Joris Vink 2014-12-12 19:09:44 +01:00
parent d9e2eb7a65
commit 6005c95ee6
1 changed files with 4 additions and 0 deletions

View File

@ -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;