summaryrefslogtreecommitdiff
path: root/src/pacman/log.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-06 01:21:41 +0000
committerDan McGee <dan@archlinux.org>2007-03-06 01:21:41 +0000
commit5baba8439761a54c488ff42e4e599b3c93dbe669 (patch)
tree3c9a0585fb7a558bba9c9574777058e2e21d97e1 /src/pacman/log.h
parent869e81e1cf115e835040d0ecadb6108880103abe (diff)
* Added missing header include guards in md5.h and sha1.h.
* Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
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)