freebsd-ports/comms/amtterm/files/patch-redir-c
Chris Rees 102b39889e This is a serial-over-lan (sol) client for Intel AMT. Includes a terminal and
a graphical (gtk) version.  Also comes with a perl script to gather
informations about and remotely control AMT managed computers.

WWW: https://www.kraxel.org/blog/linux/amtterm/
2011-12-29 20:29:46 +00:00

30 lines
758 B
Text

$FreeBSD$
From http://people.freebsd.org/~kib/misc/amtterm.1.patch
--- redir.c 2011-05-26 12:19:45.000000000 +0300
+++ redir.c 2011-12-28 22:39:15.164012594 +0200
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
--- tcp.c 2011-05-26 12:19:45.000000000 +0300
+++ tcp.c 2011-12-28 22:39:32.276853072 +0200
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>