diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-01 18:32:23 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-01 18:32:23 +0900 |
commit | de5949640a54fde50e9934fe8693159ae05f1541 (patch) | |
tree | 285e0400ec393b4b814449ff0c2a01300bda9a11 /src/include/gnunet_namestore_service.h | |
parent | a25fa8cf399e0257a71a7c854fe9055ed0c58ab6 (diff) | |
download | gnunet-de5949640a54fde50e9934fe8693159ae05f1541.tar.gz gnunet-de5949640a54fde50e9934fe8693159ae05f1541.zip |
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
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 39449be5d..372b26a1a 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -41,6 +41,7 @@ | |||
41 | #ifndef GNUNET_NAMESTORE_SERVICE_H | 41 | #ifndef GNUNET_NAMESTORE_SERVICE_H |
42 | #define GNUNET_NAMESTORE_SERVICE_H | 42 | #define GNUNET_NAMESTORE_SERVICE_H |
43 | 43 | ||
44 | #include "gnunet_platform.h" | ||
44 | #include "gnunet_error_codes.h" | 45 | #include "gnunet_error_codes.h" |
45 | #include "gnunet_util_lib.h" | 46 | #include "gnunet_util_lib.h" |
46 | #include "gnunet_block_lib.h" | 47 | #include "gnunet_block_lib.h" |