chiark / gitweb /
Prep v229: Some musl-libc compatibility updates
[elogind.git] / src / basic / hostname-util.c
index b3d79c5a83f1aac516fa6e3daabd03be10b8d071..b9ab884367d2909b2564a324702690268cda539d 100644 (file)
@@ -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>