Commit 082939e64e1632d8ea0b1d6ebea93ca832c9e762
authorMartin Åberg <martin@fripost.org>
Sun, 17 Feb 2019 14:45:06 +0000 (15:45 +0100)
committerMartin Åberg <martin@fripost.org>
Sun, 17 Feb 2019 14:51:49 +0000 (15:51 +0100)
examples/parts/uart_pty.c

index 3282ac98d3a2b4164c85a0259da4542d15ff342b..1aba826849cd4574ccb2455e03bbcda588de00cc 100644 (file)
 #include <signal.h>
 #ifdef __APPLE__
 #include <util.h>
+#elif defined (__FreeBSD__)
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <termios.h>
+#include <libutil.h>
 #else
 #include <pty.h>
 #endif