summaryrefslogtreecommitdiff
path: root/sysutils/nut/files/patch-drivers_main.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-11-14 07:58:15 +0000
committerCy Schubert <cy@FreeBSD.org>2020-11-14 07:58:15 +0000
commitfe02968432cf5e4b2879f3a719b611ca3cea5405 (patch)
tree1448c9b778626f39a44cd6aec6fd32aff4516e51 /sysutils/nut/files/patch-drivers_main.h
parent- Update to 0.2.0 (diff)
Properly check USB errors using sys/errno.h.
Notes
Notes: svn path=/head/; revision=555091
Diffstat (limited to 'sysutils/nut/files/patch-drivers_main.h')
-rw-r--r--sysutils/nut/files/patch-drivers_main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/nut/files/patch-drivers_main.h b/sysutils/nut/files/patch-drivers_main.h
new file mode 100644
index 000000000000..3977e160cc43
--- /dev/null
+++ b/sysutils/nut/files/patch-drivers_main.h
@@ -0,0 +1,10 @@
+--- drivers/main.h.orig 2015-12-29 04:08:34.000000000 -0800
++++ drivers/main.h 2020-11-13 23:40:47.007315000 -0800
+@@ -1,6 +1,7 @@
+ #ifndef MAIN_H
+ #define MAIN_H
+
++#include <sys/param.h>
+ #include "common.h"
+ #include "upsconf.h"
+ #include "dstate.h"