aboutsummaryrefslogtreecommitdiff
path: root/lib/compat
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat')
-rw-r--r--lib/compat/getline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compat/getline.c b/lib/compat/getline.c
index e63c50e..d7e456b 100644
--- a/lib/compat/getline.c
+++ b/lib/compat/getline.c
@@ -11,7 +11,7 @@
#include <stdlib.h>
#ifndef HAVE_GETLINE
-ssize_t getline(char **line, size_t *n, FILE *fp)
+int getline(char **line, size_t *n, FILE *fp)
{
size_t new_cap, len = 0, cap = 0;
char *buffer = NULL, *new;