summaryrefslogtreecommitdiff
path: root/include/ui-gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui-gadget.h')
-rw-r--r--include/ui-gadget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui-gadget.h b/include/ui-gadget.h
index 73a7510..7b2efe8 100644
--- a/include/ui-gadget.h
+++ b/include/ui-gadget.h
@@ -54,7 +54,7 @@
* @addtogroup UI_Gadget_For_User
* @{
*/
-#ifndef WAYLAND
+#ifndef UG_WAYLAND
#include <X11/Xlib.h>
#endif
@@ -217,7 +217,7 @@ struct ug_cbs {
* ...
* \endcode
*/
-#ifndef WAYLAND
+#ifndef UG_WAYLAND
int ug_init(Display *disp, Window xid, void *win, enum ug_option opt);
#else
int ug_init(void *win, enum ug_option opt);