summaryrefslogtreecommitdiff
path: root/graphics/xpm/patches/patch-ad
blob: b4a43cf30ae42209157cc57fdbb1ef6c81834d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ad,v 1.2 2002/05/24 13:32:41 agc Exp $

--- lib/XpmI.h.orig	Thu Mar 19 20:51:00 1998
+++ lib/XpmI.h	Mon May 13 00:33:23 2002
@@ -42,6 +42,7 @@
 #ifndef XPMI_h
 #define XPMI_h
 
+#include <X11/Xmd.h>
 #include "xpm.h"
 
 /*
@@ -82,7 +83,7 @@
 #endif
 
 /* the following is defined in X11R6 but not in previous versions */
-#ifdef __alpha
+#if defined(__alpha) || defined(__arch64__)
 #ifndef LONG64
 #define LONG64
 #endif