]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix includes
authorMatija Skala <mskala@gmx.com>
Wed, 15 Mar 2017 12:21:10 +0000 (13:21 +0100)
committerMatija Skala <mskala@gmx.com>
Wed, 15 Mar 2017 12:21:10 +0000 (13:21 +0100)
linux/sockios.h is needed for the SIOCGSTAMPNS macro

xlocale.h is included indirectly in glibc and doesn't even exist in
other libcs

src/basic/parse-util.c
src/libsystemd-network/sd-lldp.c

index 6e58ced6f5291758ae7acab9f9c5d0531aad73ee..d86700736d7e7b8cbbd5e83f700037886106061d 100644 (file)
@@ -23,7 +23,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <xlocale.h>
 
 #include "alloc-util.h"
 #include "extract-word.h"
index 0702241506b1522d82e26a580bc77464a5c943b4..39ddb2461afb421327d19698a17651dcb0275058 100644 (file)
@@ -19,6 +19,7 @@
 ***/
 
 #include <arpa/inet.h>
+#include <linux/sockios.h>
 
 #include "sd-lldp.h"