openbsd-ports/x11/xview/config/patches/p-libxview-sel-seln_impl_h

22 lines
429 B
Plaintext

--- lib/libxview/sel/seln_impl.h.orig 1993-06-29 07:15:25.000000000 +0200
+++ lib/libxview/sel/seln_impl.h 2003-12-30 01:31:13.000000000 +0100
@@ -9,12 +9,17 @@
* file for terms of the license.
*/
+#ifdef NULL
+#undef NULL
+#endif
#include <errno.h>
#ifndef FILE
#ifndef SVR4
-#undef NULL
#endif SVR4
#include <stdio.h>
+#ifndef NULL
+#define NULL 0
+#endif
#endif FILE
#include <sys/time.h>
#include <sys/types.h>