diff options
Diffstat (limited to 'sysutils/nut/files/patch-drivers_libshut.c')
-rw-r--r-- | sysutils/nut/files/patch-drivers_libshut.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/nut/files/patch-drivers_libshut.c b/sysutils/nut/files/patch-drivers_libshut.c index c4a1895398d2..b925c8948250 100644 --- a/sysutils/nut/files/patch-drivers_libshut.c +++ b/sysutils/nut/files/patch-drivers_libshut.c @@ -1,6 +1,14 @@ --- drivers/libshut.c.orig 2015-12-29 12:08:34 UTC +++ drivers/libshut.c -@@ -809,10 +809,10 @@ int shut_get_string_simple(int upsfd, int index, +@@ -37,6 +37,7 @@ + #include "nut_stdint.h" /* for uint8_t, uint16_t, uint32_t */ + + #include "serial.h" ++#include "libusb.h" + #include "libshut.h" + #include "common.h" /* for xmalloc, upsdebugx prototypes */ + +@@ -809,10 +810,10 @@ int shut_get_string_simple(int upsfd, int index, return ret; if (tbuf[1] != USB_DT_STRING) |