openbsd-ports/x11/xview/config/patches/p-libxview-frame-frame_base_h

21 lines
486 B
Plaintext

--- lib/libxview/frame/frame_base.h.orig 1993-06-29 07:16:14.000000000 +0200
+++ lib/libxview/frame/frame_base.h 2003-12-30 01:31:12.000000000 +0100
@@ -17,11 +17,16 @@ static char sccsid[] = "@(#)frame_ba
#define _frame_base_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>