summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorHarald Welte2010-03-26 16:53:12 +0100
committerHarald Welte2010-03-26 16:53:12 +0100
commit42b794668e0b0b21c98ea2d505c53f2f09048938 (patch)
treeee22f56357004e315a7fd6f7d7aad7409b2b2097 /src/shared
parentMerge commit 'cc6313cc697f4c90cf0fc1c5b01cb1871a075f26' (diff)
parentonly include strings.h if it is actually preent (diff)
downloadosmocom-42b794668e0b0b21c98ea2d505c53f2f09048938.tar.gz
osmocom-42b794668e0b0b21c98ea2d505c53f2f09048938.tar.xz
osmocom-42b794668e0b0b21c98ea2d505c53f2f09048938.zip
Merge commit '01fd5cb3f0da802ca82d3b6aef46d2a3d8e6c15c'
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/libosmocore/src/logging.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/libosmocore/src/logging.c b/src/shared/libosmocore/src/logging.c
index 2a132eb..ea03d30 100644
--- a/src/shared/libosmocore/src/logging.c
+++ b/src/shared/libosmocore/src/logging.c
@@ -20,11 +20,16 @@
*
*/
+#include "../config.h"
+
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+
+#ifdef HAVE_STRINGS_H
#include <strings.h>
+#endif
#include <time.h>
#include <errno.h>