aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;