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>
10 Backported from upstream commit da0969b26ad4bb839bcb88362c8f41aaf0eb8363
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
20 #include <netinet/in.h>
21 #include <arpa/inet.h>
23 +#include <sys/time.h>
25 #include "upsclient.h"