chiark / gitweb /
fix musl libc build errors
[elogind.git] / src / basic / stdio-util.h
index b36e8a947e5615a01450b745eefd849702acff13..a5bdc56788edf44f7cfd5027b83b781e460b8333 100644 (file)
@@ -21,7 +21,9 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#ifdef __GLIBC__
 #include <printf.h>
+#endif
 #include <stdarg.h>
 #include <stdio.h>
 #include <sys/types.h>