From: Andrea Bolognani Date: Mon, 11 Jul 2016 22:18:50 +0000 (+0200) Subject: Include the top level header of each xcb module used X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/914d8f4c4661b3f842688986cad04ee392f477a0 Include the top level header of each xcb module used One xcb module, one header file: should to be included directly, instead of relying on other modules dragging it in; on the other hand, it's okay to include just the top level instead of the three separate sub-headers. [rk@rejii.com: skip xcb_util.h since it breaks xcb-util < 0.3.8] closes #142 --- diff --git a/spectrwm.c b/spectrwm.c index 3aeb294..285bac9 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -69,6 +69,7 @@ #include #include #include +#include #include #include #include