chiark / gitweb /
Prep v229: Use parse-printf-format.h if configure did not find printf.h
[elogind.git] / src / basic / stdio-util.h
index c15c92319283b8473c82cea656904c474c9b405c..60cf86a532813bd1ad3c0ae655bb0f1b3b730b40 100644 (file)
@@ -19,7 +19,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && defined(HAVE_PRINTF_H)
 #include <printf.h>
 #else
 #include "parse-printf-format.h"