[seed: 1/2] seed-os.c: include util.h for openpty() on macOS




commit d515df6995f1d3f133822ae47ea2d9497afed153
Author: Christopher Chavez <chrischavez gmx us>
Date:   Wed Sep 30 16:19:26 2020 +0000

    seed-os.c: include util.h for openpty() on macOS

 modules/os/seed-os.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/modules/os/seed-os.c b/modules/os/seed-os.c
index 1a5a0ddc..ed4abc4c 100644
--- a/modules/os/seed-os.c
+++ b/modules/os/seed-os.c
@@ -38,6 +38,8 @@
 #include <termios.h>
 #if defined(__FreeBSD__)
 #include <libutil.h>
+#elif defined(__APPLE__)
+#include <util.h>
 #endif
 #include <unistd.h>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]