Skip to content

Commit

Permalink
Merge pull request #2649 from brauner/lxc/master
Browse files Browse the repository at this point in the history
netns_ifaddrs: fix missing include
  • Loading branch information
stgraber committed Sep 26, 2018
2 parents 4e79fc5 + a3aba11 commit 55ac911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/netns_ifaddrs.c
@@ -1,4 +1,3 @@
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <errno.h>
#include <linux/if.h>
Expand All @@ -17,6 +16,7 @@
#include <sys/socket.h>
#include <unistd.h>

#include "config.h"
#include "nl.h"
#include "macro.h"
#include "netns_ifaddrs.h"
Expand Down
2 changes: 2 additions & 0 deletions src/include/netns_ifaddrs.h
Expand Up @@ -11,6 +11,8 @@ extern "C" {
#include <stdbool.h>
#include <sys/socket.h>

#include "netns_ifaddrs.h"

struct netns_ifaddrs {
struct netns_ifaddrs *ifa_next;

Expand Down

0 comments on commit 55ac911

Please sign in to comment.