# HG changeset patch # User jbe # Date 1422565678 -3600 # Node ID 891ceefb0876652354ef9c334f73a3cd4a090829 # Parent 69dae4e56adc6eb142082cd428b2eefa04e40241 Include bsd/stdio.h on Linux systems to avoid compiler warning on implicitly declared fpurge() function diff -r 69dae4e56adc -r 891ceefb0876 moonbridge.c --- a/moonbridge.c Thu Jan 29 21:57:54 2015 +0100 +++ b/moonbridge.c Thu Jan 29 22:07:58 2015 +0100 @@ -37,6 +37,9 @@ #if defined(__FreeBSD__) || __has_include() #include #endif +#if defined(__linux__) || __has_include() +#include +#endif #if defined(__linux__) || __has_include() #include #endif