X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fstdio-util.h;h=3e0ea04f6448344129fb25c86b88dae714fea2d5;hb=24ab3b695eae442c47f5f67a0b4fc504c0044f98;hp=a5bdc56788edf44f7cfd5027b83b781e460b8333;hpb=18674c960fee86d2e9b081302311f207a2212875;p=elogind.git
diff --git a/src/basic/stdio-util.h b/src/basic/stdio-util.h
index a5bdc5678..3e0ea04f6 100644
--- a/src/basic/stdio-util.h
+++ b/src/basic/stdio-util.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -21,9 +19,11 @@
along with systemd; If not, see .
***/
-#ifdef __GLIBC__
+#if 0 /// elogind is musl-libc compatible and does not directly include printf.h
#include
-#endif
+#else
+#include "parse-printf-format.h"
+#endif // 0
#include
#include
#include
@@ -77,4 +77,4 @@ do { \
assert_not_reached("Unknown format string argument."); \
} \
} \
-} while(false)
+} while (false)