summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-06 19:03:38 -0500
committerDan McGee <dan@archlinux.org>2007-09-06 19:03:38 -0500
commit9cceb3d9c4d4b0975781a4d48eabfdd29026453e (patch)
treebb083d67a0bc662289f1ae336deed84a3c4bd8ac
parent39871375051856f9248d651005ab62e2a309d6ea (diff)
downloadpacman-9cceb3d9c4d4b0975781a4d48eabfdd29026453e.tar.xz
Add a few missing includes, caught while compiling on cygwin
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/util.h1
-rw-r--r--src/pacman/util.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 0dab0639..3a57fe4a 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -26,6 +26,7 @@
#define _ALPM_UTIL_H
#include <stdio.h>
+#include <stdarg.h>
#include <libintl.h> /* here so it doesn't need to be included elsewhere */
#include <time.h>
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 148e947a..8bf4ec14 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -34,6 +34,7 @@
#include <ctype.h>
#include <dirent.h>
#include <unistd.h>
+#include <limits.h>
#include <alpm.h>
#include <alpm_list.h>