freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+sel+seln_impl.h
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

21 lines
411 B
C

--- ./lib/libxview/sel/seln_impl.h.orig Tue Jun 29 07:15:25 1993
+++ ./lib/libxview/sel/seln_impl.h Sat Apr 1 18:25:27 2000
@@ -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>