commit | 5816bcfaff8dce35345fa0955082d8c761618017 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Apr 04 11:43:09 2014 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Apr 04 11:43:09 2014 +0200 |
tree | b52e39705ef1610da8b3d867a9b7d2eb3052a22b | |
parent | 746b944ad6835c38e94a591bf5363b1797429337 [diff] [blame] |
gtp: Speculative FreeBSD compile fix for htobe64
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>