summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-01-05 16:46:01 +0000
committerderaadt <deraadt@openbsd.org>1996-01-05 16:46:01 +0000
commitc0681405cc3fbfa53cbaefa2b44246bc74840c7b (patch)
tree4241111fe6c304d2a5bf707647c5312a0f03c3e3
parentfrom tls; contrary to unpopular opinion, "help" is a perfectly valid hostname (diff)
downloadwireguard-openbsd-c0681405cc3fbfa53cbaefa2b44246bc74840c7b.tar.xz
wireguard-openbsd-c0681405cc3fbfa53cbaefa2b44246bc74840c7b.zip
fix, and handle openbsd case too
-rw-r--r--gnu/lib/libmalloc/mem-limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libmalloc/mem-limits.h b/gnu/lib/libmalloc/mem-limits.h
index a6317123786..35a925c997a 100644
--- a/gnu/lib/libmalloc/mem-limits.h
+++ b/gnu/lib/libmalloc/mem-limits.h
@@ -24,7 +24,7 @@ Cambridge, MA 02139, USA. */
#include <sys/resource.h>
#endif
-#if defined(__bsdi__) && defined(__NetBSD__)
+#if defined(__bsdi__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define BSD4_2
#endif