projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19e724
)
Limit definition of XOPEN_SOURCE to Linux, where it's needed.
author
Thomas Klausner
<wiz@gatalith.at>
Sun, 28 Jan 2024 20:50:36 +0000
(21:50 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Mon, 29 Jan 2024 15:18:49 +0000
(15:18 +0000)
The definition breaks the build on NetBSD where it hides symbols
(to match what the standard says).
Fixes #1230.
src/exif-common.cc
patch
|
blob
|
history
diff --git
a/src/exif-common.cc
b/src/exif-common.cc
index
ef80a6d
..
1fcfb6a
100644
(file)
--- a/
src/exif-common.cc
+++ b/
src/exif-common.cc
@@
-19,7
+19,9
@@
#include <config.h>
+#ifdef __linux__
#define _XOPEN_SOURCE
+#endif
#include <cmath>
#include <cstdlib>