chiark / gitweb /
fix includes
authorMatija Skala <mskala@gmx.com>
Wed, 15 Mar 2017 12:21:10 +0000 (13:21 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:44:35 +0000 (09:44 +0200)
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

index cfdb29aba0a4f538a6d63358e7014fdab3793c3c..c38e14d96a367e5329b6dda480ea4e50e7377bcf 100644 (file)
@@ -23,9 +23,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#if defined(__GLIBC__)
-#  include <xlocale.h>
-#endif // defined(__GLIBC__)
 
 #include "alloc-util.h"
 //#include "extract-word.h"