提交 1ec00737 编写于 作者: G Guillaume Nault 提交者: Dmitry Kozlov

core: make ap_net.h self-contained

We need to include <sys/socket.h> to define 'socklen_t', <sys/types.h>
for 'ssize_t' and "list.h" for 'struct list_head'.

Also, let's include "libnetlink.h" so that we don't need a forward
declaration for 'struct rtnl_handle'.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 b7b9b190
#ifndef __AP_NET_H #ifndef __AP_NET_H
#define __AP_NET_H #define __AP_NET_H
struct rtnl_handle; #include <sys/socket.h>
#include <sys/types.h>
#include "libnetlink.h"
#include "list.h"
struct ap_net { struct ap_net {
struct list_head entry; struct list_head entry;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册