summaryrefslogtreecommitdiffstats
path: root/src/pacman/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/log.h')
-rw-r--r--src/pacman/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/log.h b/src/pacman/log.h
index 3317709e..1205e8e6 100644
--- a/src/pacman/log.h
+++ b/src/pacman/log.h
@@ -21,6 +21,8 @@
#ifndef _PM_LOG_H
#define _PM_LOG_H
+#include <stdio.h>
+
/* TODO these are illegal in ISO C, thus the reason -pedantic was never used
* as a compile flag for the pacman side of things (named variadic macros) */
#define MSG(line, fmt, args...) pm_fprintf(stdout, line, fmt, ##args)