diff options
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h index 79dc5940b..49a2cbd67 100644 --- a/executor/common.h +++ b/executor/common.h @@ -15,7 +15,11 @@ #define _GNU_SOURCE #endif +#if GOOS_freebsd +#include <sys/endian.h> // for htobe*. +#else #include <endian.h> // for htobe*. +#endif #include <stdint.h> #include <stdio.h> // for fmt arguments #include <stdlib.h> |
