chiark / gitweb /
Merge pull request #15 from elogind/dev_v229
[elogind.git] / src / basic / stdio-util.h
index a5bdc56788edf44f7cfd5027b83b781e460b8333..60cf86a532813bd1ad3c0ae655bb0f1b3b730b40 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
   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"
 #endif
 #include <stdarg.h>
 #include <stdio.h>