diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ds/hashmap_tests.c | 3 | ||||
| -rw-r--r-- | tests/string_tests.c | 5 |
2 files changed, 5 insertions, 3 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" diff --git a/tests/string_tests.c b/tests/string_tests.c index f600400..eaa9498 100644 --- a/tests/string_tests.c +++ b/tests/string_tests.c @@ -1,6 +1,7 @@ -#define _XOPEN_SOURCE 600 -#include "string_tests.h" +#include "compat.h" + #include "moslib/string.h" +#include "string_tests.h" #include <stdlib.h> #include <string.h> |
