opnsense-ports/sysutils/multitail/files/patch-term.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 lines
336 B
C

--- term.c.orig 2014-02-24 14:33:39.000000000 -0500
+++ term.c 2014-02-24 14:35:02.000000000 -0500
@@ -16,8 +16,12 @@
#include <stropts.h>
#endif
#ifndef AIX
+#if defined(__FreeBSD__)
+#include <termios.h>
+#else
#include <sys/termios.h> /* needed on Solaris 8 */
#endif
+#endif
#include <sys/socket.h>
#include <netinet/in.h>