From 67bdd80a96bdfc49d1aadbd32cca2b53f123d180 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 15 Jan 2017 17:56:11 +0100 Subject: stats: Disable stats*.c on embedded targets Change-Id: I6beb4fcc394ed7d3f8dd7a097b6e998245ecf401 --- src/stats_statsd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stats_statsd.c') 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 #include @@ -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 */ -- cgit v1.2.3