summaryrefslogtreecommitdiff
path: root/sysutils/nut/files/patch-drivers_main.h
diff options
context:
space:
mode:
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"