summaryrefslogtreecommitdiff
path: root/editors/ex/patches/patch-ac
blob: b12df044afdbaea4b8e0073959666b3f7687fe8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ac,v 1.2 2005/11/08 21:39:12 rillig Exp $

--- mapmalloc.c.orig	2003-01-28 15:04:25.000000000 -0500
+++ mapmalloc.c
@@ -54,6 +54,9 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <limits.h>
+#if defined(__INTERIX)
+#include <stdlib.h>
+#endif
 #ifdef	__GLIBC__
 /*
  * Broken GNU libc will include stdlib.h with conflicting