dect
/
libnl
Archived
13
0
Fork 0

Fix compile errors when linking against libnl-genl

This commit is contained in:
Thomas Graf 2008-06-17 02:57:33 +02:00
parent ab578b9ca0
commit ff05f2ffc3
5 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -10,6 +10,7 @@
*/
#include "utils.h"
#include <netlink-local.h>
static void print_usage(void)
{

View File

@ -12,6 +12,7 @@
#include "utils.h"
#include <stdlib.h>
#include <stdarg.h>
uint32_t parse_u32(const char *arg)
{

View File

@ -23,7 +23,6 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/addr.h>