summaryrefslogtreecommitdiff
path: root/editors/zile/patches/patch-ab
blob: 07b9c5dfcaf168f505d14d84bbd08f8af886523e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.6 2012/02/11 09:54:21 hiramatsu Exp $

Include stdlib.h when zile is not build with glibc.

--- lib/wchar.in.h.orig	2012-02-11 05:51:54.000000000 +0000
+++ lib/wchar.in.h
@@ -68,6 +68,7 @@
 # include <stddef.h>
 #endif
 #ifndef __GLIBC__
+# include <stdlib.h>	/* NetBSD */
 # include <stdio.h>
 # include <time.h>
 #endif