summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/apcupsd/patches/patch-ad')
-rw-r--r--sysutils/apcupsd/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/apcupsd/patches/patch-ad b/sysutils/apcupsd/patches/patch-ad
new file mode 100644
index 00000000000..1176564e804
--- /dev/null
+++ b/sysutils/apcupsd/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/01/21 19:15:59 bouyer Exp $
+
+--- apcreports.c Wed Apr 7 18:06:41 1999
++++ apcreports.c Sun Jul 18 19:48:17 1999
+@@ -58,7 +58,9 @@
+
+ #include <stdio.h>
+ #include <unistd.h>
++#ifndef __NetBSD__
+ #include <getopt.h>
++#endif /* __NetBSD__ */
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <fcntl.h>