diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-06-17 00:57:33 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-06-17 00:57:33 (GMT) |
commit | ff05f2ffc3caea6c59b6c940aa80e1314783a070 (patch) | |
tree | 87b33cdda0f496cc4fb3d5ed917f78a94bea7982 /include | |
parent | ab578b9ca00b19ad6b66283ec08d004f9fc391d6 (diff) | |
download | libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.zip libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.gz libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.bz2 |
Fix compile errors when linking against libnl-genl
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-types.h | 9 | ||||
-rw-r--r-- | include/netlink/genl/mngt.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h index a818f99..be5fc4e 100644 --- a/include/netlink-types.h +++ b/include/netlink-types.h @@ -95,15 +95,6 @@ struct nl_cache_mngr struct nl_parser_param; -struct genl_info -{ - struct sockaddr_nl * who; - struct nlmsghdr * nlh; - struct genlmsghdr * genlhdr; - void * userhdr; - struct nlattr ** attrs; -}; - #define LOOSE_COMPARISON 1 #define NL_OBJ_MARK 1 diff --git a/include/netlink/genl/mngt.h b/include/netlink/genl/mngt.h index 467922a..8b0244f 100644 --- a/include/netlink/genl/mngt.h +++ b/include/netlink/genl/mngt.h @@ -22,6 +22,15 @@ extern "C" { struct nl_cache_ops; +struct genl_info +{ + struct sockaddr_nl * who; + struct nlmsghdr * nlh; + struct genlmsghdr * genlhdr; + void * userhdr; + struct nlattr ** attrs; +}; + /** * @ingroup genl_mngt * Generic Netlink Command |