term: add POSIX defines for linux support

This commit is contained in:
2026-05-02 14:29:32 +01:00
parent 4fcbcfdfb2
commit 4aaa165e5f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#include "../../print.h" #include "../../print.h"
#include <stdio.h> #include <stdio.h>
+2
View File
@@ -1,3 +1,5 @@
#define _POSIX_C_SOURCE 200809L
#include "../../tty.h" #include "../../tty.h"
#include <fx/term/tty.h> #include <fx/term/tty.h>