diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-11-25 21:44:05 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-11-25 21:44:05 +1100 |
commit | 8a85f5458d1c802471ca899c97f89946f6666e61 (patch) | |
tree | 5e66d95bd44ab5f78bc75b54878eb8857a1b6768 /openbsd-compat/openbsd-compat.h | |
parent | 16fb23f25454991272bfe4598cc05d20fcd25116 (diff) |
Include stdio.h for FILE if needed.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index f5c833bf2..865aaee53 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -61,6 +61,7 @@ void closefrom(int); | |||
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifndef HAVE_GETLINE | 63 | #ifndef HAVE_GETLINE |
64 | #include <stdio.h> | ||
64 | ssize_t getline(char **, size_t *, FILE *); | 65 | ssize_t getline(char **, size_t *, FILE *); |
65 | #endif | 66 | #endif |
66 | 67 | ||