summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-20 17:43:37 +0100
committerDan McGee <dan@archlinux.org>2011-03-20 17:45:17 +0100
commit67c0e9cab39a536f1ca2fbf2a35fe898e3b71ef4 (patch)
tree3da182eb807d845285604f130722e539e5f05b99 /lib/libalpm
parentb0f9477f01a5639a2c9213f19a6ee8acefd00f1e (diff)
downloadpacman-67c0e9cab39a536f1ca2fbf2a35fe898e3b71ef4.tar.gz
pacman-67c0e9cab39a536f1ca2fbf2a35fe898e3b71ef4.tar.xz
Add missing include for size_t
Needed for things like our strndup() substitute function. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index d65f7734..3232f004 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
+#include <stddef.h> /* size_t */
#include <time.h>
#include <sys/stat.h> /* struct stat */
#include <archive.h> /* struct archive */