1diff -Naru i/joe/tty.c w/joe/tty.c
2--- ./joe/tty.c 2018-01-10 17:28:34
3+++ ../joe-i-4.6/joe/tty.c 2024-10-02 14:08:22
4@@ -6,6 +6,9 @@
5 * This file is part of JOE (Joe's Own Editor)
6 */
7 #include "types.h"
8+#if defined(__APPLE__) && defined(__MACH__)
9+#include <util.h>
10+#endif
11
12 /* Needed for TIOCGWINSZ detection below */
13 #ifdef GWINSZ_IN_SYS_IOCTL