diff options
| author | msvoelker <timo.voelker@fh-muenster.de> | 2018-11-23 09:40:59 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-11-23 11:50:41 +0100 |
| commit | 0ab8db64670f0b91c6cc695d1159bd96409e2839 (patch) | |
| tree | e95533d739d97df7f9d6ad1c1984f3eb91e10c5b /executor/common.h | |
| parent | 2b0dc848a0b874fa0fe431786cafdb4bd9a152c6 (diff) | |
executor: FreeBSD: fixed endian.h path
The include statement for endian.h failed on FreeBSD. Changed include statement to syz/endian.h for FreeBSD.
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> |
