X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c2191f6961409263271aaeb0f9685e10492389a8..97bc9119e91a9a6d084b6070c8aecbab91393e70:/sbr/m_getfld.c diff --git a/sbr/m_getfld.c b/sbr/m_getfld.c index 585df643..e139505a 100644 --- a/sbr/m_getfld.c +++ b/sbr/m_getfld.c @@ -188,6 +188,11 @@ static int (*eom_action)(int) = NULL; # define _cnt _r /* Retch */ # define _filbuf __srget /* Puke */ # define DEFINED__FILBUF_TO_SOMETHING_SPECIFIC + +# if defined __CYGWIN__ + /* Cygwin's stdio.h does not declare __srget(). */ + int __srget(FILE *); +# endif /* __CYGWIN__ */ #endif #ifndef DEFINED__FILBUF_TO_SOMETHING_SPECIFIC