summaryrefslogtreecommitdiffstats
path: root/tests/getline.c
diff options
context:
space:
mode:
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 10de2ffe..617d1b0e 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.