mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-11 02:03:22 +00:00
Fix FreeBSD Wayland build
This commit is contained in:
parent
fab7ce90db
commit
aedb75d4f3
2 changed files with 12 additions and 2 deletions
10
glfw/wl_client_side_decorations.c
vendored
10
glfw/wl_client_side_decorations.c
vendored
|
|
@ -12,6 +12,16 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
// Needed for the BTN_* defines
|
||||
#ifdef __has_include
|
||||
#if __has_include(<linux/input.h>)
|
||||
#include <linux/input.h>
|
||||
#elif __has_include(<dev/evdev/input.h>)
|
||||
#include <dev/evdev/input.h>
|
||||
#endif
|
||||
#else
|
||||
#include <linux/input.h>
|
||||
#endif
|
||||
|
||||
#define decs window->wl.decorations
|
||||
#define debug debug_rendering
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
#include <structmember.h>
|
||||
#include "colors.h"
|
||||
#include "color-names.h"
|
||||
#ifdef __APPLE__
|
||||
// Needed for strod_l
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
// Needed for strtod_l
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue