python-cryptography: bump to version 1.7.2
[buildroot-gz.git] / package / nut / 0002-client-ups-add-missing-include.patch
blob63fdcdcbb405f363f384fc872a623143d11675fb
1 From da0969b26ad4bb839bcb88362c8f41aaf0eb8363 Mon Sep 17 00:00:00 2001
2 From: "Yann E. MORIN" <yann.morin.1998@free.fr>
3 Date: Tue, 11 Oct 2016 12:05:36 +0200
4 Subject: [PATCH] client/ups: add missing include
6 struct timeval is declared in sys/time.h, so we need to #include it.
8 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 ---
10 Backported from upstream commit da0969b26ad4bb839bcb88362c8f41aaf0eb8363
11 ---
12 clients/upsclient.c | 1 +
13 1 file changed, 1 insertion(+)
15 diff --git a/clients/upsclient.c b/clients/upsclient.c
16 index 43c0e79..dfadd0d 100644
17 --- a/clients/upsclient.c
18 +++ b/clients/upsclient.c
19 @@ -37,6 +37,7 @@
20 #include <netinet/in.h>
21 #include <arpa/inet.h>
22 #include <fcntl.h>
23 +#include <sys/time.h>
25 #include "upsclient.h"
26 #include "common.h"
27 --
28 2.7.4