X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=i3-input%2Fi3-input.h;h=d7aae66b5f8ffb1033f93155d5e74eed20c2146a;hp=104296cf6945db1267914e8378d26ec4094fad91;hb=HEAD;hpb=2314f107784196d8fc7ee500645dbdf548f91386 diff --git a/i3-input/i3-input.h b/i3-input/i3-input.h index 104296cf..d7aae66b 100644 --- a/i3-input/i3-input.h +++ b/i3-input/i3-input.h @@ -1,14 +1,14 @@ #pragma once +#include + #include #define die(...) errx(EXIT_FAILURE, __VA_ARGS__); -#define FREE(pointer) do { \ - if (pointer != NULL) { \ - free(pointer); \ - pointer = NULL; \ - } \ -} \ -while (0) +#define FREE(pointer) \ + do { \ + free(pointer); \ + pointer = NULL; \ + } while (0) extern xcb_window_t root;