[PATCH] openggsn[master]: lib/tun: Add missing #include to net/if.h for IFNAMSIZ

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Sep 5 20:26:46 UTC 2017


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 <laforge at gnumonks.org>



More information about the gerrit-log mailing list