--- zzzz-none-000/linux-2.6.39.4/include/linux/if_vlan.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/if_vlan.h 2021-11-10 13:38:17.000000000 +0000 @@ -412,4 +412,11 @@ short vlan_qos; }; +#ifndef __KERNEL__ +#include +#endif + +#define AVM_REGISTER_VLAN_DEVICE +int avm_register_vlan_device(struct net_device *real_dev, uint16_t vlan_id, const char *name, struct net_device **vlan_dev); + #endif /* !(_LINUX_IF_VLAN_H_) */