最近编译open***-2.4.3时候提示`TUNSETGROUP' undeclared(first use in this function),在open***目录下,找到tun.h,添加一下宏定义即可
#ifndef TUNSETGROUP
#define TUNSETGROUP _IOW('T', 206, int)
#endif
转载于:https://blog.51cto.com/linuxcgi/1966739
最近编译open***-2.4.3时候提示`TUNSETGROUP' undeclared(first use in this function),在open***目录下,找到tun.h,添加一下宏定义即可
#ifndef TUNSETGROUP
#define TUNSETGROUP _IOW('T', 206, int)
#endif
转载于:https://blog.51cto.com/linuxcgi/1966739