index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-11-04 18:02:25 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 18:02:25 -0600 |
commit | b55abdce7aebb142ce79da3aa3645afe7693a3c4 (patch) | |
tree | a19e1595cb92d4a3571a88acd76ad564fea0aead /lib/libalpm/util.h | |
parent | 99f42d6bd2116b0bd8f75394fe92255ca1f4c80b (diff) |
-rw-r--r-- | lib/libalpm/util.h | 2 |
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h index e8b1d719..5d0b3693 100644 --- a/lib/libalpm/util.h +++ b/lib/libalpm/util.h @@ -30,6 +30,7 @@ #include <stdio.h> #include <stdarg.h> #include <time.h> +#include <sys/stat.h> /* struct stat */ #ifdef ENABLE_NLS #include <libintl.h> /* here so it doesn't need to be included elsewhere */ @@ -62,6 +63,7 @@ void _alpm_time2string(time_t t, char *buffer); int _alpm_str_cmp(const void *s1, const void *s2); char *_alpm_filecache_find(const char *filename); const char *_alpm_filecache_setup(void); +int _alpm_lstat(const char *path, struct stat *buf); #ifndef HAVE_STRVERSCMP int strverscmp(const char *, const char *); |