summaryrefslogtreecommitdiff
path: root/b4light.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-30 23:15:52 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-06-30 23:15:52 -0700
commit61703aea4a92b9ee177c1c4bd01123629fa9510c (patch)
treebfba07cb568107c8f3ae28332d470285a17eded5 /b4light.c
parent5d542724fde2d3bea856ae0b4b98b3e07afafb7c (diff)
Don't link against libXaw since the calls to it are #ifdef NOTDEF
We still need it in CFLAGS for #defines from <X11/Xaw/Cardinals.h> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'b4light.c')
-rw-r--r--b4light.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/b4light.c b/b4light.c
index 791f5f5..735742d 100644
--- a/b4light.c
+++ b/b4light.c
@@ -32,7 +32,9 @@ in this Software without prior written authorization from the X Consortium.
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
+#ifdef NOTDEF
#include <X11/Xaw/Label.h>
+#endif
#include <X11/Xaw/Cardinals.h>
#include <X11/extensions/scrnsaver.h>
#include <X11/Xcms.h>