summaryrefslogtreecommitdiff
path: root/src/basic/stdio-util.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-05-17 15:26:47 +0200
committerSven Eden <yamakuzure@gmx.net>2017-05-17 15:29:08 +0200
commit2ae52c55833fda0d79b80ff000aaf19a6c4f3b4d (patch)
tree53f6247675a5e83b9060a3a68ec08aeddf1a0459 /src/basic/stdio-util.h
parent8e5e788db91c2e8b619f4bcbbf2ad08eebeae6d4 (diff)
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.
Diffstat (limited to 'src/basic/stdio-util.h')
-rw-r--r--src/basic/stdio-util.h2
1 files changed, 2 insertions, 0 deletions
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 <printf.h>
+#else
+#include "parse-printf-format.h"
#endif
#include <stdarg.h>
#include <stdio.h>