aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-04-04 11:43:09 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-04-04 11:43:09 +0200
commit5816bcfaff8dce35345fa0955082d8c761618017 (patch)
treeb52e39705ef1610da8b3d867a9b7d2eb3052a22b
parent746b944ad6835c38e94a591bf5363b1797429337 (diff)
gtp: Speculative FreeBSD compile fix for htobe64
-rw-r--r--gtp/gtp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtp/gtp.c b/gtp/gtp.c
index 6185634..94ad045 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -21,6 +21,10 @@
#define _GNU_SOURCE 1
#endif
+#if defined(__FreeBSD__)
+#include <sys/endian.h>
+#endif
+
#include "../config.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>