2009-12-10 21:35:56 +01:00
|
|
|
$NetBSD: patch-ag,v 1.4 2009/12/10 20:35:56 abs Exp $
|
1998-08-07 13:08:53 +02:00
|
|
|
|
2009-12-10 21:35:56 +01:00
|
|
|
--- lib/libxview/base/xv_debug.h.orig 1993-06-29 05:14:44.000000000 +0000
|
|
|
|
+++ lib/libxview/base/xv_debug.h
|
2001-12-20 10:19:53 +01:00
|
|
|
@@ -9,11 +9,16 @@
|
|
|
|
#ifndef _xv_debug_h_already_included
|
|
|
|
#define _xv_debug_h_already_included
|
1998-07-03 23:02:03 +02:00
|
|
|
|
2001-12-20 10:19:53 +01:00
|
|
|
+#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 <xview/pkg.h> /* needed to get definition of Xv_private */
|
|
|
|
/*
|