summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-14 15:39:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-14 15:39:37 +0200
commit78469b4c6a82887c70e2cac365af7a66051f8ba7 (patch)
tree8fe63d66432a9bf24ce80d4ce99a21b1024d883b /runtime/msg.c
parentbfac3c68f47b8769b0936fb80eeea8880793fd2d (diff)
parent92b4f6d610a3b4de9066d4f26a712cf6b1507250 (diff)
downloadrsyslog-78469b4c6a82887c70e2cac365af7a66051f8ba7.tar.gz
rsyslog-78469b4c6a82887c70e2cac365af7a66051f8ba7.tar.xz
rsyslog-78469b4c6a82887c70e2cac365af7a66051f8ba7.zip
Merge branch 'v4-beta' into v4-devel
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c4
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"