summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>