Review at  https://gerrit.osmocom.org/3836

lib/tun: Add missing #include to net/if.h for IFNAMSIZ

Change-Id: I979867d643c9fa912884fe55105333dbad39ab97
---
M lib/tun.h
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openggsn refs/changes/36/3836/1

diff --git a/lib/tun.h b/lib/tun.h
index 1cd0767..8fa1c61 100644
--- a/lib/tun.h
+++ b/lib/tun.h
@@ -13,6 +13,8 @@
 #ifndef _TUN_H
 #define _TUN_H
 
+#include <net/if.h>
+
 #include "../lib/in46_addr.h"
 
 #define PACKET_MAX      8196   /* Maximum packet size we receive */

-- 
To view, visit https://gerrit.osmocom.org/3836
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I979867d643c9fa912884fe55105333dbad39ab97
Gerrit-PatchSet: 1
Gerrit-Project: openggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to