Created
March 23, 2015 07:54
-
-
Save ncopa/0afd7a9779218837830d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __VIR_NETLINK_H__ | |
# define __VIR_NETLINK_H__ | |
# include "internal.h" | |
# include "virmacaddr.h" | |
# if defined(__linux__) && defined(HAVE_LIBNL) | |
#include <stdio.h> | |
#include <poll.h> | |
/* Work around a bug where older libnl-1 headers expected older gcc | |
* semantics of 'extern inline' that conflict with C99 semantics. */ | |
# ifdef HAVE_LIBNL1 | |
# define inline | |
# endif | |
# include <netlink/msg.h> | |
# ifdef HAVE_LIBNL1 | |
# undef inline | |
# endif | |
# else | |
struct nl_msg; | |
struct sockaddr_nl; | |
struct nlattr; | |
struct nlmsghdr; | |
# endif /* __linux__ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment