aboutsummaryrefslogtreecommitdiff
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-06-28 15:48:17 +0200
committerBert <ber.t@gmx.com>2011-06-28 15:48:17 +0200
commit2e1d752777cbd4144498e28869fa5795f93f4103 (patch)
tree911c3e0025751e110fe7947eb182037517d08212 /thumbs.c
parentdde2d9d0232efbaa2fb1e691a9ef2e197a46692a (diff)
Fix compile error on NetBSD
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c5
1 files changed, 5 insertions, 0 deletions
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;