From 75073d0a8478441cc97a6efa10b566c5fb1dac81 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Apr 2020 20:57:17 +0100 Subject: New upstream version 1.4.0 --- openbsd-compat/openbsd-compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbsd-compat/openbsd-compat.h') diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index bee126c..30d80b3 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -32,6 +32,10 @@ #define be32toh(x) ntohl((x)) #endif /* _WIN32 && !HAVE_ENDIAN_H */ +#if defined(__FreeBSD__) && !defined(HAVE_ENDIAN_H) +#include +#endif + #include #if !defined(HAVE_STRLCAT) -- cgit v1.2.3