From 2e1d752777cbd4144498e28869fa5795f93f4103 Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 28 Jun 2011 15:48:17 +0200 Subject: Fix compile error on NetBSD --- thumbs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 0670888..9bf4864 100644 --- a/thumbs.c +++ b/thumbs.c @@ -27,6 +27,11 @@ #include "thumbs.h" #include "util.h" +#ifdef __NetBSD__ +#define st_mtim st_mtimespec +#define st_atim st_atimespec +#endif + const int thumb_dim = THUMB_SIZE + 10; char *cache_dir = NULL; -- cgit v1.2.3