summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3status.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/i3status.h b/i3status.h
index 1926021..0a42555 100644
--- a/i3status.h
+++ b/i3status.h
@@ -1,6 +1,10 @@
#ifndef _I3STATUS_H
#define _I3STATUS_H
+#if !defined(DZEN) && !defined(XMOBAR)
+ #error "You have to enable either -DDZEN or -DXMOBAR"
+#endif
+
#include <stdbool.h>
#include <confuse.h>