From de5949640a54fde50e9934fe8693159ae05f1541 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Thu, 1 Dec 2022 18:32:23 +0900 Subject: BUILD: Improve platform-specific includes This change allows third party programs to use gnunet either with the platform header from the sources used to build to gnunet, or use their own platform header by defining GNUNET_CUSTOM_PLATFORM_H which will be included in its stead. This also means that programs no longer must include "platform.h" (or similar) manually. The change (should be) backwards compatible to some degree. Fixes #4615 --- src/util/common_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/common_logging.c') diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 9fa848224..15ca9e106 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -23,7 +23,7 @@ * @brief error handling API * @author Christian Grothoff */ -#include "platform.h" + #include "gnunet_crypto_lib.h" #include "gnunet_disk_lib.h" #include "gnunet_strings_lib.h" -- cgit v1.2.3