Limit definition of XOPEN_SOURCE to Linux, where it's needed.
authorThomas Klausner <wiz@gatalith.at>
Sun, 28 Jan 2024 20:50:36 +0000 (21:50 +0100)
committerColin Clark <colin.clark@cclark.uk>
Mon, 29 Jan 2024 15:18:49 +0000 (15:18 +0000)
commit87ff30b3f269d43c368b2bbf91ca134a960df860
treee5e3234850d0fe74702434eaf3d8006a32b80c84
parente19e7249b25bbba1c9b6f87bbe339510f340598d
Limit definition of XOPEN_SOURCE to Linux, where it's needed.

The definition breaks the build on NetBSD where it hides symbols
(to match what the standard says).

Fixes #1230.
src/exif-common.cc