Remove/add (un)needed includes

This commit is contained in:
Nathan McSween
2016-02-18 23:34:30 +00:00
parent 48ddca5f35
commit e306723ec4
7 changed files with 5 additions and 3 deletions

View File

@@ -17,7 +17,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <bits/local_lim.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>

View File

@@ -19,7 +19,7 @@
***/
#include <linux/filter.h>
#include <linux/if_ether.h>
#include <netinet/if_ether.h>
#include "fd-util.h"
#include "lldp-internal.h"

View File

@@ -20,6 +20,7 @@
#include <errno.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/wait.h>
/* When we include libgen.h because we need dirname() we immediately
* undefine basename() since libgen.h defines it as a macro to the POSIX

View File

@@ -20,6 +20,7 @@
#include <net/if.h>
#include <sys/ioctl.h>
#include <linux/if_tun.h>
#include <netinet/if_ether.h>
#include "alloc-util.h"
#include "fd-util.h"

View File

@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <unistd.h>
#include <linux/fs.h>

View File

@@ -24,6 +24,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/prctl.h>

View File

@@ -18,7 +18,6 @@
***/
#include <netinet/ether.h>
#include <linux/netdevice.h>
#include "sd-netlink.h"