1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/sysutils/powerman/files/patch-src-client.c
Greg Lewis 3b06cdd620 Add a port of PowerMan:
PowerMan is a tool for manipulating remote power control (RPC)
devices from a central location. Several RPC varieties are supported
natively by PowerMan and Expect-like configurability simplifies the
addition of new devices.

WWW: http://www.llnl.gov/linux/powerman/
2004-06-17 16:14:13 +00:00

20 lines
390 B
C

$FreeBSD$
--- src/client.c.orig Mon Mar 29 14:25:54 2004
+++ src/client.c Mon Mar 29 14:27:27 2004
@@ -31,10 +31,14 @@
#include <syslog.h>
#include <stdarg.h>
+#include <sys/types.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <tcpd.h>
#include <stdio.h>
#include <fcntl.h>
+#include <sys/socket.h>
+#include <limits.h>
#include "powerman.h"
#include "wrappers.h"