chiark / gitweb /
Prep v231.2: basic/stdio-util.h must include parse-printf-format.h instead of printf.h
authorSven Eden <yamakuzure@gmx.net>
Mon, 19 Jun 2017 09:04:44 +0000 (11:04 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 19 Jun 2017 09:04:44 +0000 (11:04 +0200)
src/basic/stdio-util.h

index bd1144b..3e0ea04 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
   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>
 #include <printf.h>
+#else
+#include "parse-printf-format.h"
+#endif // 0
 #include <stdarg.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <sys/types.h>