diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-01-15 17:56:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-15 19:00:40 +0200 |
commit | 67bdd80a96bdfc49d1aadbd32cca2b53f123d180 (patch) | |
tree | f415ae817ba79707cbec87520858b64faf9ffeef /src/stats_statsd.c | |
parent | ac9e2d8aa52cbc4198cd94ab9d9c92c3317a979f (diff) |
stats: Disable stats*.c on embedded targets
Change-Id: I6beb4fcc394ed7d3f8dd7a097b6e998245ecf401
Diffstat (limited to 'src/stats_statsd.c')
-rw-r--r-- | src/stats_statsd.c | 4 |
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 */ |