Skip to content

Commit

Permalink
Fix imdkit detection
Browse files Browse the repository at this point in the history
config.h needs to be included before ifdef check...
  • Loading branch information
lbonn committed Jan 5, 2025
1 parent fab7901 commit 3550af6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/xcb/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
/** Log domain for this module */
#define G_LOG_DOMAIN "X11Helper"

#include <config.h>

#ifdef XCB_IMDKIT
#include <xcb-imdkit/encoding.h>
#include <xcb/xcb_keysyms.h>
#endif
#include <cairo-xcb.h>
#include <cairo.h>
#include <config.h>
#include <glib.h>
#include <math.h>
#include <stdint.h>
Expand Down
1 change: 1 addition & 0 deletions source/xcb/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#define G_LOG_DOMAIN "View"

#include <config.h>

#include <errno.h>
#include <locale.h>
#include <signal.h>
Expand Down

0 comments on commit 3550af6

Please sign in to comment.