summaryrefslogtreecommitdiffstats
path: root/src/stats_statsd.c
diff options
context:
space:
mode:
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 */