X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=i3-input%2Fi3-input.h;h=d7aae66b5f8ffb1033f93155d5e74eed20c2146a;hp=fcf9edc3d3138ac24a644cee60adb8f85b9e6bdf;hb=HEAD;hpb=02794015289e749be71e60e9533a405b05317452 diff --git a/i3-input/i3-input.h b/i3-input/i3-input.h index fcf9edc3..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; \ - } \ +#define FREE(pointer) \ + do { \ + free(pointer); \ + pointer = NULL; \ } while (0) extern xcb_window_t root;