]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Remove/add (un)needed includes
authorNathan McSween <nwmcsween@gmail.com>
Thu, 18 Feb 2016 23:34:30 +0000 (23:34 +0000)
committerNathan McSween <nwmcsween@gmail.com>
Thu, 18 Feb 2016 23:34:30 +0000 (23:34 +0000)
src/basic/hostname-util.c
src/libsystemd-network/lldp-network.c
src/machine/machine-dbus.c
src/network/networkd-netdev-tuntap.c
src/shared/machine-image.c
src/shared/machine-pool.c
src/udev/net/link-config.c

index 7bb23448ed5298316a1319d17a15a195799f5966..57031b645ca28f2f9f0d9bb6ea1816ae5df7abf5 100644 (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>
index 42058c4449afa6561e9d6720e4762414626544ae..7c865b46cb337313794d40521bf63237fd4088cf 100644 (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"
index 71f20b3f07c8ca197e6b10ff928c0057abf2ce88..c5bbf2fbde92982da41dc18644abd0926f3c9970 100644 (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
index ab9a1b0426e85a6b829950b67ae26eea3e8b77e3..cdf443862d617d9485ef2416cba1d2a4e4ee97fa 100644 (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"
index ed8a29c5756278a288efdaab8687bd612afadf8e..d2f1c4a40c7d17f6fbff6e50b57bbf4a516d59c9 100644 (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>
index e5674e4137773e84042668d69ef9fab7bbd75c29..f080b849a4c2d58f50d1c6431dd7023ddf82684f 100644 (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>
index 15145fc5ebe6e0fa795600a8b68aa571f14734c1..c66504102f8b4bd7201674cfa0d17a8701516902 100644 (file)
@@ -18,7 +18,6 @@
 ***/
 
 #include <netinet/ether.h>
-#include <linux/netdevice.h>
 
 #include "sd-netlink.h"