diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-05-22 10:18:56 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-05-22 10:28:34 +0200 |
commit | b5e3f1e02c74ad1c8a070a4b2ddd1398528c337e (patch) | |
tree | 331ad4dc5d8383dc423712ff0a66d644695dd56b /src/basic/hostname-util.c | |
parent | 4ca1b42f5ce901a02ada2006c06bf4584785e172 (diff) |
Prep v229: Some musl-libc compatibility updates
- musl-libc has no <bits/local_lim.h>
- musl-libc has no <xlocale.h>
- added <missing.h> include to basic/mdkir.c
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r-- | src/basic/hostname-util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c index b3d79c5a8..b9ab88436 100644 --- a/src/basic/hostname-util.c +++ b/src/basic/hostname-util.c @@ -17,7 +17,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <bits/local_lim.h> +#if defined(__GLIBC__) +# include <bits/local_lim.h> +#endif // defined(__GLIBC__) #include <errno.h> #include <limits.h> #include <stdio.h> |