aboutsummaryrefslogtreecommitdiff
path: root/sysutils/powerman/files/patch-src-device_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/powerman/files/patch-src-device_pipe.c')
-rw-r--r--sysutils/powerman/files/patch-src-device_pipe.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/powerman/files/patch-src-device_pipe.c b/sysutils/powerman/files/patch-src-device_pipe.c
new file mode 100644
index 000000000000..0628e58e6d4c
--- /dev/null
+++ b/sysutils/powerman/files/patch-src-device_pipe.c
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- src/device_pipe.c.orig Mon Mar 29 22:02:27 2004
++++ src/device_pipe.c Mon Mar 29 22:02:48 2004
+@@ -38,7 +38,10 @@
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <signal.h>
++#ifdef __linux__
+ #include <pty.h>
++#endif
+
+
+ #include "powerman.h"