提交 42a50d41 编写于 作者: G Guillaume Nault 提交者: Dmitry Kozlov

libnetlink: make ipset.h self-contained

We need to include <netinet/in.h> to define 'in_addr_t'.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 7ba8d8d0
#ifndef __IPSET_H #ifndef __IPSET_H
#define __IPSET_H #define __IPSET_H
#include <netinet/in.h>
int ipset_add(const char *name, in_addr_t addr); int ipset_add(const char *name, in_addr_t addr);
int ipset_del(const char *name, in_addr_t addr); int ipset_del(const char *name, in_addr_t addr);
int ipset_flush(const char *name); int ipset_flush(const char *name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册