moonbridge
changeset 22:891ceefb0876
Include bsd/stdio.h on Linux systems to avoid compiler warning on implicitly declared fpurge() function
author | jbe |
---|---|
date | Thu Jan 29 22:07:58 2015 +0100 (2015-01-29) |
parents | 69dae4e56adc |
children | 6889aa20b19f |
files | moonbridge.c |
line diff
1.1 --- a/moonbridge.c Thu Jan 29 21:57:54 2015 +0100 1.2 +++ b/moonbridge.c Thu Jan 29 22:07:58 2015 +0100 1.3 @@ -37,6 +37,9 @@ 1.4 #if defined(__FreeBSD__) || __has_include(<libutil.h>) 1.5 #include <libutil.h> 1.6 #endif 1.7 +#if defined(__linux__) || __has_include(<bsd/stdio.h>) 1.8 +#include <bsd/stdio.h> 1.9 +#endif 1.10 #if defined(__linux__) || __has_include(<bsd/libutil.h>) 1.11 #include <bsd/libutil.h> 1.12 #endif