aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats_statsd.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-15 17:56:11 +0100
committerHarald Welte <laforge@gnumonks.org>2017-05-15 19:00:40 +0200
commit67bdd80a96bdfc49d1aadbd32cca2b53f123d180 (patch)
treef415ae817ba79707cbec87520858b64faf9ffeef /src/stats_statsd.c
parentac9e2d8aa52cbc4198cd94ab9d9c92c3317a979f (diff)
stats: Disable stats*.c on embedded targets
Diffstat (limited to 'src/stats_statsd.c')
-rw-r--r--src/stats_statsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stats_statsd.c b/src/stats_statsd.c
index 8b53881e..342bb88e 100644
--- a/src/stats_statsd.c
+++ b/src/stats_statsd.c
@@ -21,6 +21,9 @@
*
*/
+#include "config.h"
+#if !defined(EMBEDDED)
+
#include <osmocom/core/stats.h>
#include <string.h>
@@ -167,3 +170,4 @@ static int osmo_stats_reporter_statsd_send_item(struct osmo_stats_reporter *srep
statg->idx,
desc->name, value, unit);
}
+#endif /* !EMBEDDED */