提交 7ba8d8d0 编写于 作者: G Guillaume Nault 提交者: Dmitry Kozlov

iputils: make iputils.h self-contained

We need to include <stdint.h> to define 'uint32_t' and <netinet/in.h>
for 'in_addr_t' and 'struct in6_addr'.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 1ec00737
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
#define __IPLINK_H #define __IPLINK_H
#include <linux/if_link.h> #include <linux/if_link.h>
#include <netinet/in.h>
#include <stdint.h>
typedef int (*iplink_list_func)(int index, int flags, const char *name, int iflink, int vid, void *arg); typedef int (*iplink_list_func)(int index, int flags, const char *name, int iflink, int vid, void *arg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册