diff options
author | Enno Boland <g@s01.de> | 2017-05-16 10:21:17 +0200 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2017-05-16 10:22:57 +0200 |
commit | 1d120b339a85b3bee6bce78253ee303ff9d2522a (patch) | |
tree | 3527d84377a1f89117c7ed1d27c5456802862b73 /src/basic/stdio-util.h | |
parent | 708583d675d19a9abbb0e2d531482f7b5f20665c (diff) |
fix musl libc build errors
Diffstat (limited to 'src/basic/stdio-util.h')
-rw-r--r-- | src/basic/stdio-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/stdio-util.h b/src/basic/stdio-util.h index b36e8a947..a5bdc5678 100644 --- a/src/basic/stdio-util.h +++ b/src/basic/stdio-util.h @@ -21,7 +21,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#ifdef __GLIBC__ #include <printf.h> +#endif #include <stdarg.h> #include <stdio.h> #include <sys/types.h> |