nsxiv2e1d752
Fix compile error on NetBSD
+5 −0
1 file changed
- M thumbs.c +5 −0
| @@ -27,6 +27,11 @@ | |||
| 27 | 27 | #include "thumbs.h" | |
| 28 | 28 | #include "util.h" | |
| 29 | 29 | ||
| 30 | + | #ifdef __NetBSD__ | |
| 31 | + | #define st_mtim st_mtimespec | |
| 32 | + | #define st_atim st_atimespec | |
| 33 | + | #endif | |
| 34 | + | ||
| 30 | 35 | const int thumb_dim = THUMB_SIZE + 10; | |
| 31 | 36 | char *cache_dir = NULL; | |
| 32 | 37 | ||