chiark / gitweb /
Prep v229: Use parse-printf-format.h if configure did not find printf.h
authorSven Eden <yamakuzure@gmx.net>
Thu, 18 May 2017 05:50:58 +0000 (07:50 +0200)
committerSven Eden <yamakuzure@gmx.net>
Thu, 18 May 2017 07:03:49 +0000 (09:03 +0200)
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"