summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-03 06:20:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-03 06:20:00 +0000
commitfb92d51c9f0a7b8df6a6a8bfa4b7d4032babcc84 (patch)
tree2a1e822938734d0e134188a481657bc5e04e5d7a /gnu/lib
parentd9edba3b07d42108aac7ae3c10ad5fbe0b935006 (diff)
from netbsd; Use getrlimit() instead of vlimit(), like BSD/OS and OSF/1 do
Diffstat (limited to 'gnu/lib')
-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 ab594fcf3cc..a6317123786 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
-#ifdef __bsdi__
+#if defined(__bsdi__) && defined(__NetBSD__)
#define BSD4_2
#endif