summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-t9/patches/patch-ab
blob: 29b34c8fcd349d49b0ef4730ca0a3e54c5b92835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.1.1.1 2010/08/07 02:27:35 obache Exp $

--- src/decoder.c.orig	2010-03-22 01:51:10.000000000 +0000
+++ src/decoder.c
@@ -31,6 +31,12 @@
 #include <string.h>
 #include "engine.h"
 
+#ifndef MAP_ANONYMOUS
+#ifdef MAP_ANON
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+#endif
+
 static char * nextline(char *);
 
 /**