summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-17 17:53:00 +0100
committerGravatar Martin Szulecki2013-02-17 17:53:00 +0100
commitbafea81a8378342b5c7f1b85075437e767660d94 (patch)
tree6ddbe742f41cd15351ee364409668e4ab3739442
parent7af899f21bad93c7aac0957388d2712d6c2cee84 (diff)
downloadcsoap-bafea81a8378342b5c7f1b85075437e767660d94.tar.gz
csoap-bafea81a8378342b5c7f1b85075437e767660d94.tar.bz2
Add string.h to soap-logging.c to properly use strdup()
-rw-r--r--libcsoap/soap-logging.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcsoap/soap-logging.c b/libcsoap/soap-logging.c
index 1fd0eef..009f75d 100644
--- a/libcsoap/soap-logging.c
+++ b/libcsoap/soap-logging.c
@@ -37,6 +37,10 @@
#include <stdarg.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif