$NetBSD$ --- src/util-byte.h.orig 2025-09-16 21:20:00.500853436 +0000 +++ src/util-byte.h @@ -30,7 +30,7 @@ #define BYTE_LITTLE_ENDIAN 1 /** Wrappers for OS dependent byte swapping functions */ -#ifdef OS_FREEBSD +#if defined(OS_FREEBSD) || defined(__NetBSD__) #include #define SCByteSwap16(x) bswap16(x) #define SCByteSwap32(x) bswap32(x)