Skip to content

Commit

Permalink
tree-wide: include <sys/sysmacros.h> directly
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 authored and stgraber committed Mar 22, 2017
1 parent 1b06078 commit cef0cc9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lxc/lxccontainer.c
Expand Up @@ -31,6 +31,7 @@
#include <stdio.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/sysmacros.h>
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/syscall.h>
Expand Down Expand Up @@ -64,9 +65,6 @@
#ifdef MAJOR_IN_MKDEV
# include <sys/mkdev.h>
#endif
#ifdef MAJOR_IN_SYSMACROS
# include <sys/sysmacros.h>
#endif

#if HAVE_IFADDRS_H
#include <ifaddrs.h>
Expand Down

0 comments on commit cef0cc9

Please sign in to comment.