summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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