diff options
author | Michael Biebl <biebl@debian.org> | 2009-05-18 21:07:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-19 07:31:22 +0200 |
commit | 5ab3e8005f62c2016bdb2d3b099d1d8c1a4cf2bc (patch) | |
tree | c6f155953705dbc1bb8cb193f1a96c9e4a5f9215 | |
parent | 735a02c65622da0bc9c2d6b4ce44d126d4c766aa (diff) | |
download | rsyslog-5ab3e8005f62c2016bdb2d3b099d1d8c1a4cf2bc.tar.gz rsyslog-5ab3e8005f62c2016bdb2d3b099d1d8c1a4cf2bc.tar.xz rsyslog-5ab3e8005f62c2016bdb2d3b099d1d8c1a4cf2bc.zip |
Fix compiler warnings
include <string.h> for memcpy and strlen.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r-- | runtime/vm.c | 1 | ||||
-rw-r--r-- | tcps_sess.c | 1 | ||||
-rw-r--r-- | tests/rscript.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/vm.c b/runtime/vm.c index 41d3e483..125b0d21 100644 --- a/runtime/vm.c +++ b/runtime/vm.c @@ -25,6 +25,7 @@ #include "config.h" #include <stdlib.h> +#include <string.h> #include <assert.h> #include <ctype.h> diff --git a/tcps_sess.c b/tcps_sess.c index 2a3ec0df..ceb6142f 100644 --- a/tcps_sess.c +++ b/tcps_sess.c @@ -29,6 +29,7 @@ */ #include "config.h" #include <stdlib.h> +#include <string.h> #include <assert.h> #include <errno.h> #include <ctype.h> diff --git a/tests/rscript.c b/tests/rscript.c index 6b232f5f..ce81491c 100644 --- a/tests/rscript.c +++ b/tests/rscript.c @@ -24,6 +24,7 @@ */ #include "config.h" #include <stdio.h> +#include <string.h> #include <glob.h> #include <sys/stat.h> |