freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_props.h
Cy Schubert 6d0e01a6a1 Update 3.2p1-X11R6 --> 3.2p1.4-19c
This fixes cmdtool and shelltool terminal handling and utmpx issues under
9.0.
2012-02-08 06:54:54 +00:00

17 lines
450 B
C

--- lib/libxview/frame/fm_props.h.orig 2005-03-28 06:41:27.000000000 -0800
+++ lib/libxview/frame/fm_props.h 2012-02-02 17:18:57.633679042 -0800
@@ -15,9 +15,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>