chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba463e
)
Prep v231.2: basic/stdio-util.h must include parse-printf-format.h instead of printf.h
author
Sven Eden
<yamakuzure@gmx.net>
Mon, 19 Jun 2017 09:04:44 +0000
(11:04 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Mon, 19 Jun 2017 09:04:44 +0000
(11:04 +0200)
src/basic/stdio-util.h
patch
|
blob
|
history
diff --git
a/src/basic/stdio-util.h
b/src/basic/stdio-util.h
index bd1144b4c9f5610b608fcf7078a3e31cf9673306..3e0ea04f6448344129fb25c86b88dae714fea2d5 100644
(file)
--- a/
src/basic/stdio-util.h
+++ b/
src/basic/stdio-util.h
@@
-19,7
+19,11
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#if 0 /// elogind is musl-libc compatible and does not directly include printf.h
#include <printf.h>
+#else
+#include "parse-printf-format.h"
+#endif // 0
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>