diff options
author | Matija Skala <mskala@gmx.com> | 2017-03-15 13:21:10 +0100 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-07-26 21:35:48 -0400 |
commit | 159d022d09188aa7e6c3aa5e0a43b98575844334 (patch) | |
tree | c00047c9bfa4e703f3d37bbe0e4d2f78fdf6b8ae | |
parent | a75bfac699bdc238eedc78dcdb0ee3ce533cd854 (diff) |
fix includes
linux/sockios.h is needed for the SIOCGSTAMPNS macro
xlocale.h is included indirectly in glibc and doesn't even exist in
other libcs
(cherry picked from commit 284d1cd0a12cad96a5ea61d1afb0dd677dbd147e)
-rw-r--r-- | src/basic/parse-util.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/sd-lldp.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c index c98815b9bc..a0eb458052 100644 --- a/src/basic/parse-util.c +++ b/src/basic/parse-util.c @@ -23,7 +23,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <xlocale.h> #include "alloc-util.h" #include "extract-word.h" diff --git a/src/libsystemd-network/sd-lldp.c b/src/libsystemd-network/sd-lldp.c index 0702241506..39ddb2461a 100644 --- a/src/libsystemd-network/sd-lldp.c +++ b/src/libsystemd-network/sd-lldp.c @@ -19,6 +19,7 @@ ***/ #include <arpa/inet.h> +#include <linux/sockios.h> #include "sd-lldp.h" |