summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-11-25 21:44:05 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-11-25 21:44:05 +1100
commit8a85f5458d1c802471ca899c97f89946f6666e61 (patch)
tree5e66d95bd44ab5f78bc75b54878eb8857a1b6768 /openbsd-compat/openbsd-compat.h
parent16fb23f25454991272bfe4598cc05d20fcd25116 (diff)
Include stdio.h for FILE if needed.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index f5c833bf..865aaee5 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -61,6 +61,7 @@ void closefrom(int);
#endif
#ifndef HAVE_GETLINE
+#include <stdio.h>
ssize_t getline(char **, size_t *, FILE *);
#endif