alfred: vis: Add missing include for ifinfomsg

Message ID 20190801135432.28244-1-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit ce26453bd72829ac9561acd8d3a06a3937341687
Delegated to: Simon Wunderlich
Headers
Series alfred: vis: Add missing include for ifinfomsg |

Commit Message

Sven Eckelmann Aug. 1, 2019, 1:54 p.m. UTC
  Fixes: 0fc6e6674428 ("alfred: vis: Retrieve hardif status via generic netlink")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 vis/vis.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/vis/vis.c b/vis/vis.c
index 9474563..8df3056 100644
--- a/vis/vis.c
+++ b/vis/vis.c
@@ -10,6 +10,7 @@ 
 #include <dirent.h>
 #include <errno.h>
 #include <getopt.h>
+#include <linux/rtnetlink.h>
 #include <net/if.h>
 #include <netinet/in.h>
 #include <signal.h>