summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-17 20:57:34 +0100
committerColin Watson <cjwatson@debian.org>2020-04-18 09:48:21 +0100
commitdf7226c4b684fd229dc046388225c69ded877721 (patch)
treee69014e1ee868c4ec178b8a36baae7de31786beb /openbsd-compat/openbsd-compat.h
parentf794345c2d734f593da8ed7754e5dbb5809c688d (diff)
parent75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff)
Update upstream source from tag 'upstream/1.4.0'
Update to upstream version '1.4.0' with Debian dir 64889867df57bd13ea0cb964223697d378d391ce
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h4
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)