blob: 28887a7eba46e535f8b86e3a512215b428ba8856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ah,v 1.1 2005/11/17 13:17:56 dmcmahill Exp $
--- src/frontend/display.c.orig 2005-05-31 00:12:18.000000000 +0000
+++ src/frontend/display.c
@@ -102,8 +102,9 @@ DISPDEVICE device[] = {
DISPDEVICE *dispdev = device + NUMELEMS(device) - 1;
+#ifndef XtNumber
#define XtNumber(arr) (sizeof(arr) / sizeof(arr[0]))
-
+#endif
DISPDEVICE *FindDev(char *name)
{
|