From e8de265f8039165dc32ffb78f6a6a5eb0c1514ad Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Thu, 26 Jun 2014 11:50:34 -0400 Subject: move _alpm_lstat into util-common Signed-off-by: Andrew Gregory --- src/common/util-common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/util-common.h') diff --git a/src/common/util-common.h b/src/common/util-common.h index e28c60d9..5f04b00c 100644 --- a/src/common/util-common.h +++ b/src/common/util-common.h @@ -20,9 +20,13 @@ #ifndef _PM_UTIL_COMMON_H #define _PM_UTIL_COMMON_H +#include /* struct stat */ + const char *mbasename(const char *path); char *mdirname(const char *path); +int llstat(const char *path, struct stat *buf); + #ifndef HAVE_STRNDUP char *strndup(const char *s, size_t n); #endif -- cgit v1.2.3-24-g4f1b