Skip to content

Commit

Permalink
netns_ifaddrs: fix missing include
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Sep 26, 2018
1 parent 323a7f1 commit a3aba11
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 a3aba11

Please sign in to comment.