summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index c7ab7e6..b008b51 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -14,6 +14,7 @@
#include <endian.h>
#include <string.h>
+#include <time.h>
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define BIT(x) (1 << (x))
@@ -121,6 +122,8 @@ extern char **apk_argv;
#define APK_MAX_TAGS 16 /* see solver; unsigned short */
#define APK_CACHE_CSUM_BYTES 4
+time_t apk_time(void);
+
static inline size_t apk_calc_installed_size(size_t size)
{
const size_t bsize = 4 * 1024;