projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
e5ea627
)
Commit
082939e64e1632d8ea0b1d6ebea93ca832c9e762
author
Martin Åberg
<martin@fripost.org>
Sun, 17 Feb 2019 14:45:06 +0000
(15:45 +0100)
committer
Martin Åberg
<martin@fripost.org>
Sun, 17 Feb 2019 14:51:49 +0000
(15:51 +0100)
examples/parts/uart_pty.c
patch
|
blob
|
history
|
download
diff --git
a/examples/parts/uart_pty.c
b/examples/parts/uart_pty.c
index 3282ac98d3a2b4164c85a0259da4542d15ff342b..1aba826849cd4574ccb2455e03bbcda588de00cc 100644
(file)
--- a/
examples/parts/uart_pty.c
+++ b/
examples/parts/uart_pty.c
@@
-29,6
+29,11
@@
#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