chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v229: Use parse-printf-format.h if configure did not find printf.h
[elogind.git]
/
src
/
basic
/
stdio-util.h
diff --git
a/src/basic/stdio-util.h
b/src/basic/stdio-util.h
index c15c92319283b8473c82cea656904c474c9b405c..60cf86a532813bd1ad3c0ae655bb0f1b3b730b40 100644
(file)
--- a/
src/basic/stdio-util.h
+++ b/
src/basic/stdio-util.h
@@
-19,7
+19,7
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#if
def __GLIBC__
+#if
defined(__GLIBC__) && defined(HAVE_PRINTF_H)
#include <printf.h>
#else
#include "parse-printf-format.h"