diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
32 | #define be32toh(x) ntohl((x)) | 32 | #define be32toh(x) ntohl((x)) |
33 | #endif /* _WIN32 && !HAVE_ENDIAN_H */ | 33 | #endif /* _WIN32 && !HAVE_ENDIAN_H */ |
34 | 34 | ||
35 | #if defined(__FreeBSD__) && !defined(HAVE_ENDIAN_H) | ||
36 | #include <sys/endian.h> | ||
37 | #endif | ||
38 | |||
35 | #include <stdlib.h> | 39 | #include <stdlib.h> |
36 | 40 | ||
37 | #if !defined(HAVE_STRLCAT) | 41 | #if !defined(HAVE_STRLCAT) |