summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:36:15 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commit1d1beab8c25713f8c8880b4d32c266e9d9e1a337 (patch)
treebe0743a24b15ef2266b81f841ca19d77ae52e635
parente2014029851b6f720b2d55be3d1680c0e72e4641 (diff)
downloadaccel-ppp-1d1beab8c25713f8c8880b4d32c266e9d9e1a337.tar.gz
accel-ppp-1d1beab8c25713f8c8880b4d32c266e9d9e1a337.zip
vlan_mon: make vlan_mon.h self-contained
We need to include <stdint.h> to define 'uint16_t'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/include/vlan_mon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/include/vlan_mon.h b/accel-pppd/include/vlan_mon.h
index 23d5e60d..673150b3 100644
--- a/accel-pppd/include/vlan_mon.h
+++ b/accel-pppd/include/vlan_mon.h
@@ -1,6 +1,8 @@
#ifndef __VLAN_MON_H
#define __VLAN_MON_H
+#include <stdint.h>
+
typedef void (*vlan_mon_notify)(int ifindex, int vid, int vlan_ifindex);
void vlan_mon_register_proto(uint16_t proto, vlan_mon_notify cb);