2022-06-05 03:05:04 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2022-05-16 19:21:41 +04:30
|
|
|
From: Snow <i@xkun.me>
|
|
|
|
Date: Sun, 15 May 2022 11:41:03 +0800
|
2022-06-05 03:05:04 +02:00
|
|
|
Subject: [PATCH] Define __USE_MISC in checkwidths.c
|
2022-05-16 19:21:41 +04:30
|
|
|
|
|
|
|
Define `__USE_MISC` manually in `checkwidths.c` for `ECHOCTL` and `ECHOKE`,
|
|
|
|
see `Kernel/API/POSIX/termios.h`.
|
|
|
|
---
|
|
|
|
joe/util/checkwidths.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/joe/util/checkwidths.c b/joe/util/checkwidths.c
|
|
|
|
index 509447d..944faef 100644
|
|
|
|
--- a/joe/util/checkwidths.c
|
|
|
|
+++ b/joe/util/checkwidths.c
|
|
|
|
@@ -5,6 +5,8 @@
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#define __USE_MISC // for ECHOCTL and ECHOKE
|
|
|
|
+
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|