too.
Put `scm_return_entry()' into HAVE_GETSERVENT conditional.
#include <arpa/inet.h>
#endif
-#if !defined (HAVE_H_ERRNO) && !defined (__MINGW32__)
+#if !defined (HAVE_H_ERRNO) && !defined (__MINGW32__) && !defined (__CYGWIN__)
/* h_errno not found in netdb.h, maybe this will help. */
extern int h_errno;
#endif
#undef FUNC_NAME
#endif
+#ifdef HAVE_GETSERVENT
static SCM
scm_return_entry (struct servent *entry)
{
return ans;
}
-#ifdef HAVE_GETSERVENT
SCM_DEFINE (scm_getserv, "getserv", 0, 2, 0,
(SCM name, SCM protocol),
"@deffnx procedure getservbyname name protocol\n"