From 4ce6efe274c05b7386acb9f4c4d7980a4fc9aee2 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 19 Apr 2016 11:50:49 +0000 Subject: Do not include platform.h in headers from include/ --- src/include/gnunet_consensus_service.h | 1 - src/include/gnunet_peerstore_service.h | 2 +- src/include/gnunet_secretsharing_service.h | 1 - src/include/gnunet_sensor_service.h | 2 +- src/include/gnunet_sensordashboard_service.h | 2 +- src/peerstore/peerstore_common.h | 1 + 6 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h index 3f1d3286a..957e88a80 100644 --- a/src/include/gnunet_consensus_service.h +++ b/src/include/gnunet_consensus_service.h @@ -40,7 +40,6 @@ extern "C" #endif #endif -#include "platform.h" #include "gnunet_common.h" #include "gnunet_time_lib.h" #include "gnunet_configuration_lib.h" diff --git a/src/include/gnunet_peerstore_service.h b/src/include/gnunet_peerstore_service.h index 63ec0167b..e9e344d88 100644 --- a/src/include/gnunet_peerstore_service.h +++ b/src/include/gnunet_peerstore_service.h @@ -33,8 +33,8 @@ #ifndef GNUNET_PEERSTORE_SERVICE_H #define GNUNET_PEERSTORE_SERVICE_H -#include "platform.h" #include "gnunet_util_lib.h" +#include "gnunet_common.h" #ifdef __cplusplus extern "C" diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h index 05852ddb0..047120e27 100644 --- a/src/include/gnunet_secretsharing_service.h +++ b/src/include/gnunet_secretsharing_service.h @@ -40,7 +40,6 @@ extern "C" #endif #endif -#include "platform.h" #include "gnunet_common.h" #include "gnunet_time_lib.h" #include "gnunet_configuration_lib.h" diff --git a/src/include/gnunet_sensor_service.h b/src/include/gnunet_sensor_service.h index 6b0692c6f..06aecd248 100644 --- a/src/include/gnunet_sensor_service.h +++ b/src/include/gnunet_sensor_service.h @@ -32,7 +32,7 @@ #ifndef GNUNET_SENSOR_SERVICE_H #define GNUNET_SENSOR_SERVICE_H -#include "platform.h" +#include "gnunet_common.h" #include "gnunet_util_lib.h" #ifdef __cplusplus diff --git a/src/include/gnunet_sensordashboard_service.h b/src/include/gnunet_sensordashboard_service.h index 4c08a14b6..bd4acb271 100644 --- a/src/include/gnunet_sensordashboard_service.h +++ b/src/include/gnunet_sensordashboard_service.h @@ -31,7 +31,7 @@ #ifndef GNUNET_SENSORDASHBOARD_SERVICE_H #define GNUNET_SENSORDASHBOARD_SERVICE_H -#include "platform.h" +#include "gnunet_common.h" #include "gnunet_util_lib.h" #ifdef __cplusplus diff --git a/src/peerstore/peerstore_common.h b/src/peerstore/peerstore_common.h index cb274b2c0..4b806bf91 100644 --- a/src/peerstore/peerstore_common.h +++ b/src/peerstore/peerstore_common.h @@ -24,6 +24,7 @@ * @author Omar Tarabai */ +#include "platform.h" #include "peerstore.h" /** -- cgit v1.2.3