summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_base.h
blob: 93f62ad778829edf301b8c5a9280d6e29d15a145 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- lib/libxview/frame/frame_base.h.orig	2005-03-28 06:41:27.000000000 -0800
+++ lib/libxview/frame/frame_base.h	2012-02-03 13:42:33.820547288 -0800
@@ -19,9 +19,14 @@
 /* standard includes */
 #ifndef FILE
 #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__)
+#ifdef NULL
 #undef NULL
+#endif
 #endif /* SVR4 */
 #include <stdio.h>
+#ifndef NULL
+#define NULL 0
+#endif
 #endif /* FILE */
 #include <sys/time.h>
 #include <xview/notify.h>