summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-22 21:33:47 -0700
committerDan McGee <dan@archlinux.org>2007-10-22 23:37:38 -0500
commit0c4f7d821c1cd4ce559476595e2108f75b3dde7c (patch)
treed4568383740a4a2e04d1a939af94e13335c747f9 /src
parent46eaa5c54200bfda402412e2f5b7df0eddc0230a (diff)
downloadpacman-0c4f7d821c1cd4ce559476595e2108f75b3dde7c.tar.xz
Fix broken or missing includes
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c1
-rw-r--r--src/pacman/util.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index bf6eed1b..30834a10 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <limits.h>
#include <unistd.h>
#include <dirent.h>
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 78a359be..e182f38f 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/time.h>
+#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>