mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 19:56:53 -04:00
This is a port of simavr, an AVR simulator using avr-gcc's register definitions. WWW: https://github.com/buserror/simavr PR: 208475 Submitted by: Felix Palmen <felix@palmen-it.de>
18 lines
349 B
C
18 lines
349 B
C
--- examples/parts/uart_pty.c.orig 2016-01-19 09:41:55 UTC
|
|
+++ examples/parts/uart_pty.c
|
|
@@ -30,8 +30,15 @@
|
|
#ifdef __APPLE__
|
|
#include <util.h>
|
|
#else
|
|
+#ifdef FREEBSD
|
|
+#include <sys/types.h>
|
|
+#include <sys/ioctl.h>
|
|
+#include <termios.h>
|
|
+#include <libutil.h>
|
|
+#else
|
|
#include <pty.h>
|
|
#endif
|
|
+#endif
|
|
|
|
#include "uart_pty.h"
|
|
#include "avr_uart.h"
|