blob: c478bb1f6f27a9c567f6c7c96726ad1802b46208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-bh,v 1.1 2008/08/31 06:52:29 dholland Exp $
--- server/cmapwin.c.orig 1998-04-30 10:33:41.000000000 -0400
+++ server/cmapwin.c 2008-08-31 01:08:28.000000000 -0400
@@ -28,11 +28,16 @@
* value of the WM_COLORMAP_WINDOWS property. *
* *
************************************************************************/
+#include <stdlib.h>
+#include <string.h>
#include "xmx.h"
#include "incl/cmapwin.pvt.h"
#define WINVECINCR 32
+/* avoid conflict with legacy version of strchr */
+#define index myindex
+
static rid_t *winvec;
static int winvecsz;
static int index;
|