Michael Cronenworth 92367f
From b69811c054a55c241ce5628a32a62486eab491e5 Mon Sep 17 00:00:00 2001
Michael Cronenworth 92367f
From: Aleksander Morgado <aleksander@aleksander.es>
Michael Cronenworth 92367f
Date: Mon, 17 Jul 2017 17:21:38 -0700
Michael Cronenworth 92367f
Subject: libbridge: add missing sys/time.h include in header Required to
Michael Cronenworth 92367f
 define the 'struct timeval' type:
Michael Cronenworth 92367f
Michael Cronenworth 92367f
    In file included from external/bridge-utils/brctl/brctl.c:25:
Michael Cronenworth 92367f
    external/bridge-utils/brctl/../libbridge/libbridge.h:44:17: error: field has incomplete type 'struct timeval'
Michael Cronenworth 92367f
            struct timeval max_age;
Michael Cronenworth 92367f
                           ^
Michael Cronenworth 92367f
Michael Cronenworth 92367f
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Michael Cronenworth 92367f
---
Michael Cronenworth 92367f
 libbridge/libbridge.h | 2 ++
Michael Cronenworth 92367f
 1 file changed, 2 insertions(+)
Michael Cronenworth 92367f
Michael Cronenworth 92367f
diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h
Michael Cronenworth 92367f
index ff047f9..c038b92 100644
Michael Cronenworth 92367f
--- a/libbridge/libbridge.h
Michael Cronenworth 92367f
+++ b/libbridge/libbridge.h
Michael Cronenworth 92367f
@@ -21,7 +21,9 @@
Michael Cronenworth 92367f
 
Michael Cronenworth 92367f
 #include <sys/types.h>
Michael Cronenworth 92367f
 #include <sys/socket.h>
Michael Cronenworth 92367f
+#include <sys/time.h>
Michael Cronenworth 92367f
 #include <netinet/in.h>
Michael Cronenworth 92367f
+
Michael Cronenworth 92367f
 #include <linux/if.h>
Michael Cronenworth 92367f
 #include <linux/if_bridge.h>
Michael Cronenworth 92367f
 
Michael Cronenworth 92367f
-- 
Michael Cronenworth 92367f
cgit v1.1
Michael Cronenworth 92367f