From e50b1a072279e2ecf461f379094ff1726a4c19e9 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 17 Mar 2011 22:12:22 +1030 Subject: [PATCH] failtest: include config.h first It's now important, since it defines _GNU_SOURCE. --- ccan/failtest/failtest.h | 1 + ccan/failtest/failtest_override.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ccan/failtest/failtest.h b/ccan/failtest/failtest.h index 1aa92181..4df28624 100644 --- a/ccan/failtest/failtest.h +++ b/ccan/failtest/failtest.h @@ -1,5 +1,6 @@ #ifndef CCAN_FAILTEST_H #define CCAN_FAILTEST_H +#include "config.h" #include #include #include diff --git a/ccan/failtest/failtest_override.h b/ccan/failtest/failtest_override.h index a97d4e17..cfc18002 100644 --- a/ccan/failtest/failtest_override.h +++ b/ccan/failtest/failtest_override.h @@ -1,6 +1,7 @@ #ifndef CCAN_FAILTEST_OVERRIDE_H #define CCAN_FAILTEST_OVERRIDE_H /* This file is included before the source file to test. */ +#include "config.h" /* Replacement of allocators. */ #include -- 2.39.2