summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bh
blob: fec1c954036eda0fc0ac5ef6208409d62346e83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bh,v 1.2 2009/12/10 20:35:57 abs Exp $

--- lib/libxview/frame/frame_help.h.orig	1993-06-29 05:16:10.000000000 +0000
+++ lib/libxview/frame/frame_help.h
@@ -17,11 +17,16 @@ static char     sccsid[] = "@(#)frame_he
 #define _frame_help_h_already_included
 
 /* standard includes */
+#ifdef NULL
+#undef  NULL
+#endif
 #ifndef FILE
 #ifndef SVR4
-#undef NULL
 #endif SVR4
 #include <stdio.h>
+#ifndef NULL
+#define NULL 0
+#endif
 #endif FILE
 #include <sys/time.h>
 #include <xview/notify.h>