projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang: Fixes of warning and nasty bugs
[simavr]
/
examples
/
parts
/
uart_pty.c
diff --git
a/examples/parts/uart_pty.c
b/examples/parts/uart_pty.c
index
8fad649
..
6fc3287
100644
(file)
--- a/
examples/parts/uart_pty.c
+++ b/
examples/parts/uart_pty.c
@@
-26,8
+26,12
@@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
-#include <pty.h>
#include <signal.h>
+#ifdef __APPLE__
+#include <util.h>
+#else
+#include <pty.h>
+#endif
#include "uart_pty.h"
#include "avr_uart.h"