summaryrefslogtreecommitdiff
path: root/app/beforelight/b4light.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/beforelight/b4light.c')
-rw-r--r--app/beforelight/b4light.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/beforelight/b4light.c b/app/beforelight/b4light.c
index 735742d49..6298db3a8 100644
--- a/app/beforelight/b4light.c
+++ b/app/beforelight/b4light.c
@@ -34,13 +34,17 @@ in this Software without prior written authorization from the X Consortium.
#include <X11/Shell.h>
#ifdef NOTDEF
#include <X11/Xaw/Label.h>
-#endif
#include <X11/Xaw/Cardinals.h>
+#endif
#include <X11/extensions/scrnsaver.h>
#include <X11/Xcms.h>
#include <stdlib.h>
#include <time.h>
+#ifndef ZERO
+# define ZERO ((Cardinal)0)
+#endif
+
#ifdef NOTDEF
static void quit (Widget w, XEvent *event,
String *params, Cardinal *num_params);