aboutsummaryrefslogtreecommitdiff
path: root/tests/ds
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-16 23:47:49 +0200
committerMosder <git@mosder.eu>2026-09-16 23:47:49 +0200
commit644130802a51d91b90e85a0769f642c3e0203aef (patch)
treead97ac1da8541a440a86c4c99402354bd94b06ca /tests/ds
parent4af9b2a86ad5f5b7e59ba882aa527ecead75be0e (diff)
feat: added a simple compatibbility layer for functions not from C99 standard
Diffstat (limited to 'tests/ds')
-rw-r--r--tests/ds/hashmap_tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ds/hashmap_tests.c b/tests/ds/hashmap_tests.c
index 268bc29..822ee2a 100644
--- a/tests/ds/hashmap_tests.c
+++ b/tests/ds/hashmap_tests.c
@@ -1,4 +1,5 @@
-#define _GNU_SOURCE
+#include "compat.h"
+
#define MOS_HM_LOAD_FACTOR 100
#include "hashmap_tests.h"
#include "moslib/ds/hashmap.h"