Merge branch 'fix-freebsd-wayland-dnd' of https://github.com/MiguelRegueiro/kitty
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run

This commit is contained in:
Kovid Goyal 2026-07-07 06:40:10 +05:30
commit cc95fccc8d
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 13 additions and 2 deletions

View file

@ -17,6 +17,7 @@
#include <errno.h>
#include <time.h>
#include <stdio.h>
#include <sys/mman.h>
#ifdef __NetBSD__
#define ppoll pollts

View file

@ -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

View file

@ -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