From: Sven Eden Date: Wed, 17 May 2017 13:26:47 +0000 (+0200) Subject: Prep v229: Add include for parse-printf-format.h to src/basic/stdio-util.h X-Git-Tag: v229.1~1^2~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2ae52c55833fda0d79b80ff000aaf19a6c4f3b4d;p=elogind.git Prep v229: Add include for parse-printf-format.h to src/basic/stdio-util.h Now that dedicated libc headers are included in their corresponding foo-util.h headers, stdio-util.h is the only place left, where printf.h was included. The nice thing is, that this is the only place left where we have to take care about printf and musl-libc. --- diff --git a/src/basic/stdio-util.h b/src/basic/stdio-util.h index 359d12284..c15c92319 100644 --- a/src/basic/stdio-util.h +++ b/src/basic/stdio-util.h @@ -21,6 +21,8 @@ #ifdef __GLIBC__ #include +#else +#include "parse-printf-format.h" #endif #include #include