Krolyxon
Commit 2e1d752

Branches

Refs →

nsxiv2e1d752

Fix compile error on NetBSD

Author
Bert
Date
2011-06-28 15:48 +0200
Parent
dde2d9d
Commit
2e1d752777cbd4144498e28869fa5795f93f4103

+5 −0

1 file changed

  1. M thumbs.c +5 −0
M thumbs.c View
@@ -27,6 +27,11 @@
2727 #include "thumbs.h"
2828 #include "util.h"
2929
30+#ifdef __NetBSD__
31+#define st_mtim st_mtimespec
32+#define st_atim st_atimespec
33+#endif
34+
3035 const int thumb_dim = THUMB_SIZE + 10;
3136 char *cache_dir = NULL;
3237