mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 10:51:55 +00:00
Sigh. Apparently _XOPEN_SOURCE is needed on older linux systems for fileno()
This commit is contained in:
parent
833865cb28
commit
97401f843a
1 changed files with 4 additions and 0 deletions
4
glfw/ibus_glfw.c
vendored
4
glfw/ibus_glfw.c
vendored
|
|
@ -24,6 +24,10 @@
|
|||
//
|
||||
//========================================================================
|
||||
|
||||
// _POSIX_C_SOURCE needed for fileno() on Linux systems
|
||||
#define _POSIX_C_SOURCE 1
|
||||
#include <stdio.h>
|
||||
#undef _POSIX_C_SOURCE
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue