Make sure that no X11 stuff is in the binary when not requested
[monky] / src / x11.h
index 4c275d6..45b209d 100644 (file)
--- a/src/x11.h
+++ b/src/x11.h
@@ -1,3 +1,4 @@
+#ifdef X11
 #ifndef X11_H_
 #define X11_H_
 
@@ -85,3 +86,4 @@ void set_transparent_background(Window win);
 long get_x11_color(const char *);
 
 #endif /*X11_H_*/
+#endif /* X11 */