--- lib/libxview/frame/frame_base.h.orig	Tue Jun 29 07:16:14 1993
+++ lib/libxview/frame/frame_base.h	Sun May 23 14:16:14 2010
@@ -17,11 +17,16 @@ static char     sccsid[] = "@(#)frame_base.h 1.30 93/0
 #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>
