diff BUGFIX insufficient includes/feature macro for strdup on OSX
* https://opensource.org/licenses/BSD-3-Clause
*/
#define _XOPEN_SOURCE 500
+#define _POSIX_C_SOURCE 200809L
#include "diff.h"
#include <string.h>
#include "common.h"
-#include "compat.h"
#include "log.h"
#include "tree_data_internal.h"
#include "tree_schema.h"
