diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-27 09:02:26 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-28 09:12:20 -0800 |
commit | 6ce2c46869ced346839eb7e0c3f83170025495c6 (patch) | |
tree | 7cacd8b720d7745531003afaf0ab2bb08ac87b0e /xkbcomp.h | |
parent | 772470d0e4fef8e0a3d6eaf4c563fa7b1f6d6d19 (diff) |
xkbcomp.h: include config.h before any other headers
Ensures flags set by AC_USE_SYSTEM_EXTENSIONS are correctly
propogated when including system headers.
Closes: #22 xkbcomp from git compile error
Fixes: 81e46ca ("Use asprintf() if the platform supports it")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xkbcomp.h')
-rw-r--r-- | xkbcomp.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ #define DEBUG_VAR debugFlags #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <X11/Xlib.h> #include <X11/XKBlib.h> |