head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.10.16.00.43.50; author ktnb; state Exp; branches; next ; commitid 5qGzIru0F7tjwDZG; desc @@ 1.1 log @photoc helps you review, organize, and prepare photos from the terminal: summarize a shoot, read metadata, find blurry shots and exact duplicates, rename and sort into folders, make contact sheets and smaller copies, or remove GPS before sharing. Most commands work in shell scripts; `review` needs a terminal. Inspection commands can print JSON. Large JPEGs may use temporary in-memory previews, which do not change the originals. photoc reads JPEG files and metadata from Sony ARW RAW files as of now. @ text @$NetBSD$ Add NetBSD support --- src/commands/review_state.c.orig 2026-10-16 00:21:18.559709260 +0000 +++ src/commands/review_state.c @@@@ -2,6 +2,8 @@@@ #define _GNU_SOURCE #elif defined(__APPLE__) #define _DARWIN_C_SOURCE +#elif defined(__NetBSD__) +#define _NETBSD_SOURCE #endif #define _POSIX_C_SOURCE 200809L @@@@ -14,6 +16,9 @@@@ #include #include #include +#if defined(__NetBSD__) +#include +#endif #include #include #include @