diff options
Diffstat (limited to 'tools/interactive-wayland.c')
-rw-r--r-- | tools/interactive-wayland.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/interactive-wayland.c b/tools/interactive-wayland.c index 0ffccd0..8cc41de 100644 --- a/tools/interactive-wayland.c +++ b/tools/interactive-wayland.c @@ -28,9 +28,12 @@ #include <errno.h> #include <fcntl.h> #include <locale.h> +#include <stdbool.h> #include <stdint.h> -#include <unistd.h> +#include <stdlib.h> +#include <string.h> #include <sys/mman.h> +#include <unistd.h> #include "xkbcommon/xkbcommon.h" #include "tools-common.h" @@ -39,6 +42,8 @@ #include "xdg-shell-client-protocol.h" #include <wayland-util.h> +#define MAX(a, b) ((a) > (b) ? (a) : (b)) + struct interactive_dpy { struct wl_display *dpy; struct wl_compositor *compositor; |