diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/cbfstool/swab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/swab.h b/util/cbfstool/swab.h index 22ae8b41b8..a45a7673d9 100644 --- a/util/cbfstool/swab.h +++ b/util/cbfstool/swab.h @@ -18,7 +18,7 @@ #if !defined(__APPLE__) && !defined(__NetBSD__) #define ntohl(x) (is_big_endian() ? (uint32_t)(x) : swab32(x)) #define htonl(x) (is_big_endian() ? (uint32_t)(x) : swab32(x)) -#elif defined(__NetBSD__) +#else #include <arpa/inet.h> #endif #define ntohll(x) (is_big_endian() ? (uint64_t)(x) : swab64(x)) |