* [Buildroot] [PATCH] package/nut: fix build with musl
@ 2016-10-11 13:07 Yann E. MORIN
2016-10-14 14:52 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2016-10-11 13:07 UTC (permalink / raw)
To: buildroot
Add missing header, backport from an upstream commit.
Fixes;
http://autobuild.buildroot.org/results/441/4419b24fff68dbddf488003100b6abd7b3cd5576/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
.../nut/0003-client-ups-add-missing-include.patch | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 package/nut/0003-client-ups-add-missing-include.patch
diff --git a/package/nut/0003-client-ups-add-missing-include.patch b/package/nut/0003-client-ups-add-missing-include.patch
new file mode 100644
index 0000000..78472cd
--- /dev/null
+++ b/package/nut/0003-client-ups-add-missing-include.patch
@@ -0,0 +1,29 @@
+From da0969b26ad4bb839bcb88362c8f41aaf0eb8363 Mon Sep 17 00:00:00 2001
+From: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Date: Tue, 11 Oct 2016 12:05:36 +0200
+Subject: [PATCH] client/ups: add missing include
+
+struct timeval is declared in sys/time.h, so we need to #include it.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+Backported from upstream.
+---
+ clients/upsclient.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clients/upsclient.c b/clients/upsclient.c
+index 43c0e79..dfadd0d 100644
+--- a/clients/upsclient.c
++++ b/clients/upsclient.c
+@@ -37,6 +37,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <fcntl.h>
++#include <sys/time.h>
+
+ #include "upsclient.h"
+ #include "common.h"
+--
+2.7.4
+
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/nut: fix build with musl
2016-10-11 13:07 [Buildroot] [PATCH] package/nut: fix build with musl Yann E. MORIN
@ 2016-10-14 14:52 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-10-14 14:52 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Add missing header, backport from an upstream commit.
> Fixes;
> http://autobuild.buildroot.org/results/441/4419b24fff68dbddf488003100b6abd7b3cd5576/
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-14 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 13:07 [Buildroot] [PATCH] package/nut: fix build with musl Yann E. MORIN
2016-10-14 14:52 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox