mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-23 13:43:00 +00:00
Fix #7571
This commit is contained in:
parent
8f9c9db1cf
commit
a43188e778
1 changed files with 3 additions and 0 deletions
3
glfw/wl_init.c
vendored
3
glfw/wl_init.c
vendored
|
|
@ -44,6 +44,8 @@
|
|||
#include <sys/socket.h>
|
||||
#include <wayland-client.h>
|
||||
#include <stdio.h>
|
||||
// errno.h needed for BSD code paths
|
||||
#include <errno.h>
|
||||
// Needed for the BTN_* defines
|
||||
#ifdef __has_include
|
||||
#if __has_include(<linux/input.h>)
|
||||
|
|
@ -637,6 +639,7 @@ GLFWAPI GLFWColorScheme glfwGetCurrentSystemColorTheme(void) {
|
|||
|
||||
static pid_t
|
||||
get_socket_peer_pid(int fd) {
|
||||
(void)fd;
|
||||
#ifdef __linux__
|
||||
struct ucred ucred;
|
||||
socklen_t len = sizeof(struct ucred);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue