summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gethostn.c1
-rw-r--r--tools/syslogd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/gethostn.c b/tools/gethostn.c
index 746b9381..df7ce38b 100644
--- a/tools/gethostn.c
+++ b/tools/gethostn.c
@@ -26,6 +26,7 @@
#include "config.h"
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
int main(int __attribute__((unused)) argc, char __attribute__((unused)) *argv[])
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 5edf92ce..1b63734b 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -870,6 +870,7 @@ submitErrMsg(int iErr, uchar *msg)
RETiRet;
}
+
/* rgerhards 2004-11-09: the following is a function that can be used
* to log a message orginating from the syslogd itself. In sysklogd code,
* this is done by simply calling logmsg(). However, logmsg() is changed in