config.mk and bsd-compatable make

This commit is contained in:
2026-05-08 19:15:07 +07:00
parent 0971ee551e
commit daa92410a7
3 changed files with 38 additions and 9 deletions
+4 -1
View File
@@ -1,7 +1,6 @@
#ifndef __TYPES_H_
#define __TYPES_H_
#include <linux/input-event-codes.h>
#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/render/allocator.h>
@@ -22,6 +21,10 @@
#include <xcb/xcb_icccm.h>
#endif
#define BTN_LEFT 0x110
#define BTN_RIGHT 0x111
#define BTN_MIDDLE 0x112
#define MAX(A, B) (A) > (B) ? (A) : (B)
#define MIN(A, B) (A) < (B) ? (A) : (B)
/* macro for adding listener for event */