freebsd-ports/sysutils/powerman/files/patch-src-powermand.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

15 lines
297 B
C

$FreeBSD$
--- src/powermand.c.orig Mon Mar 29 14:23:55 2004
+++ src/powermand.c Mon Mar 29 14:24:44 2004
@@ -35,6 +35,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
+#ifdef __linux__
+#include <list.h>
+#endif
+#include <limits.h>
#include "powerman.h"
#include "list.h"