Skip to content

Commit

Permalink
Merge pull request #1479 from brauner/2017-03-20/sysmacro
Browse files Browse the repository at this point in the history
tree-wide: include <sys/sysmacros.h> directly
  • Loading branch information
stgraber committed Mar 21, 2017
2 parents 7906118 + 66c1f8c commit f73d368
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 f73d368

Please sign in to comment.