aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-02-28 14:43:26 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-02-28 14:43:26 +0200
commit74596d8273552f11959fe51fb8fff84a18ca9b83 (patch)
treeb7f164166586ed456fbcd9be8860ff9382132bf5 /config.h.in
parent2a6d855693a0ae6cfe8078e91b1c4ae1c92c3603 (diff)
build: Maybe fix OpenBSD
We'll see how this goes...
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index eb2470a..ece0ddc 100644
--- a/config.h.in
+++ b/config.h.in
@@ -162,6 +162,15 @@
#define DFM_MARGIN 3
//
+// OS specific flags.
+//
+#ifdef __linux__
+#define _GNU_SOURCE
+#define _BSD_SOURCE
+#define _POSIX_C_SOURCE 200809L
+#endif
+
+//
// Configuration overrides from ./configure.
//
#include "$CFG_MACRO_GEN"