diff --git a/src/utils/bitstring/bitstring_c.c b/src/utils/bitstring/bitstring_c.c index 1fec998a..c1b25ed3 100644 --- a/src/utils/bitstring/bitstring_c.c +++ b/src/utils/bitstring/bitstring_c.c @@ -41,7 +41,12 @@ #include #include #include -#include +#if defined(HAVE_BYTESWAP_H) +# include +#else +# include "byteswap.h" +#endif + #include #include @@ -202,4 +207,4 @@ extract_fastpath_with_copy(64, be, signed , int64_t ) extract_fastpath_with_copy(64, le, signed , int64_t ) extract_fastpath_with_copy(64, ne, signed , int64_t ) -// vim: ts=2:sts=2:sw=2:et \ No newline at end of file +// vim: ts=2:sts=2:sw=2:et