3b06cdd620
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/
19 lines
335 B
C
19 lines
335 B
C
$FreeBSD$
|
|
|
|
--- src/wrappers.h.orig Mon Mar 29 12:57:11 2004
|
|
+++ src/wrappers.h Mon Mar 29 13:46:45 2004
|
|
@@ -35,9 +35,14 @@
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
#include <regex.h>
|
|
+#include <netinet/in.h>
|
|
#include <netdb.h>
|
|
#if HAVE_POLL
|
|
#include <sys/poll.h>
|
|
+#endif
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#define REG_NOERROR 0
|
|
#endif
|
|
|
|
/*
|