summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bg
blob: 0b5e86ff610ef8acd7eed256a37ae431aa958eaa (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-bg,v 1.1 2001/12/20 09:19:57 tron Exp $

--- lib/libxview/frame/frame_cmd.h.orig	Tue Jun 29 07:16:14 1993
+++ lib/libxview/frame/frame_cmd.h	Thu Dec 20 10:09:16 2001
@@ -17,11 +17,16 @@
 #define _frame_cmd_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>