freebsd-ports/devel/uisp/files/patch-Serial.C
Will Andrews 591d1fab89 Add uisp 1.0b, a versatile programmer for atmel AVR microcontrollers.
PR:		25145
Submitted by:	Bruno Schwander <bruno@tinkerbox.org>
2001-03-11 02:11:17 +00:00

16 lines
342 B
C

diff -urN Serial.C.orig Serial.C
--- Serial.C.orig Tue Aug 29 17:08:28 2000
+++ Serial.C Fri Feb 16 19:33:18 2001
@@ -10,7 +10,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#if defined (__FreeBSD__)
+#include <termios.h>
+#else
#include <termio.h>
+#endif
#include <fcntl.h>
#include "Global.h"
#include "Serial.h"