diff options
author | Dan McGee <dan@archlinux.org> | 2007-09-06 19:03:38 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-06 19:03:38 -0500 |
commit | 9cceb3d9c4d4b0975781a4d48eabfdd29026453e (patch) | |
tree | bb083d67a0bc662289f1ae336deed84a3c4bd8ac | |
parent | 39871375051856f9248d651005ab62e2a309d6ea (diff) | |
download | pacman-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.h | 1 | ||||
-rw-r--r-- | src/pacman/util.c | 1 |
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> |