X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fstdio-util.h;h=3e0ea04f6448344129fb25c86b88dae714fea2d5;hp=b36e8a947e5615a01450b745eefd849702acff13;hb=1e2c11636861da69c5637e59afe207a11dd4f386;hpb=b96ed50e3493103d075ff2ce4c3fbad8f26b2e22 diff --git a/src/basic/stdio-util.h b/src/basic/stdio-util.h index b36e8a947..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,7 +19,11 @@ along with systemd; If not, see . ***/ +#if 0 /// elogind is musl-libc compatible and does not directly include printf.h #include +#else +#include "parse-printf-format.h" +#endif // 0 #include #include #include @@ -75,4 +77,4 @@ do { \ assert_not_reached("Unknown format string argument."); \ } \ } \ -} while(false) +} while (false)