diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2017-10-20 14:51:35 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2017-10-20 14:51:35 +0000 |
| commit | 637c5b1c84e2a2b395cadbf1358a69c654fe48c1 (patch) | |
| tree | 9e0e9b021e87479cdc3b8baf2fcd1ab05f7a482a /sysutils/nut/files/patch-drivers_libshut.c | |
| parent | Take maintainership (diff) | |
Fix build with SERIAL option.
PR: 223122
Notes
Notes:
svn path=/head/; revision=452531
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) |
