summaryrefslogtreecommitdiff
path: root/tests/getline.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2009-08-21 22:28:21 +0200
committerMichael Biebl <biebl@debian.org>2009-08-21 22:28:21 +0200
commit2299dddfa134ce3e55ee3a7fd2181f0e4ddff0bd (patch)
tree95aebee3d2f92366e9086e0f0dec069d9cbb71a0 /tests/getline.c
parent62b1f9d1c05362d94d91048f2332339c5767381b (diff)
downloadrsyslog-2299dddfa134ce3e55ee3a7fd2181f0e4ddff0bd.tar.gz
Imported Upstream version 4.4.0upstream/4.4.0
Diffstat (limited to 'tests/getline.c')
-rw-r--r--tests/getline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/getline.c b/tests/getline.c
index 10de2ff..617d1b0 100644
--- a/tests/getline.c
+++ b/tests/getline.c
@@ -23,7 +23,8 @@
*/
#include "config.h"
#include <stdio.h>
-#include <malloc.h>
+#include <sys/types.h>
+#include <stdlib.h>
/* we emulate getline (the dirty way) if we do not have it
* We do not try very hard, as this is just a test driver.