commit | 33185cb55ec19751bc6dafdb6aa1db110283669f | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Sat Jul 11 23:15:22 2020 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Sat Jul 11 23:36:33 2020 +0200 |
tree | 02d5f9c9b11c22603ff600366a20a441bde6c532 | |
parent | 7f769d7b3815bdfea507a438f54e0feb16a9deea [diff] |
diff BUGFIX insufficient includes/feature macro for strdup on OSX
diff --git a/src/diff.c b/src/diff.c index 6747cce..9ce3ff5 100644 --- a/src/diff.c +++ b/src/diff.c
@@ -12,6 +12,7 @@ * https://opensource.org/licenses/BSD-3-Clause */ #define _XOPEN_SOURCE 500 +#define _POSIX_C_SOURCE 200809L #include "diff.h" @@ -20,7 +21,6 @@ #include <string.h> #include "common.h" -#include "compat.h" #include "log.h" #include "tree_data_internal.h" #include "tree_schema.h"