diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-09-14 15:39:16 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-09-14 15:39:16 +0200 |
commit | 92b4f6d610a3b4de9066d4f26a712cf6b1507250 (patch) | |
tree | f21bea8ba3492d5fefde4587960e35f8840fe61a /runtime/msg.c | |
parent | 78e9c7c4d2c4ec09cce403066f09a5a7e08e994e (diff) | |
download | rsyslog-92b4f6d610a3b4de9066d4f26a712cf6b1507250.tar.gz rsyslog-92b4f6d610a3b4de9066d4f26a712cf6b1507250.tar.xz rsyslog-92b4f6d610a3b4de9066d4f26a712cf6b1507250.zip |
fixed some minor portability issues
Diffstat (limited to 'runtime/msg.c')
-rw-r--r-- | runtime/msg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index 2a370618..208ea77a 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -35,7 +35,9 @@ #include <string.h> #include <assert.h> #include <ctype.h> -#include <malloc.h> +#if HAVE_MALLOC_H +# include <malloc.h> +#endif #include "rsyslog.h" #include "srUtils.h" #include "stringbuf.h" |