Do not use winsockapi in cygwin.

This commit is contained in:
Juan Jose Garcia Ripoll 2012-08-05 12:29:00 +02:00
parent 8b67490ab4
commit 07c4ab7db8

View file

@ -14,7 +14,11 @@
See file '../Copyright' for full details.
*/
#ifndef __CYGWIN__
/* Recent versions of cygwin do not define fd_set when WINSOCKAPI is
* defined */
#define _WINSOCKAPI_
#endif /* __CYGWIN__ */
#include <ecl/ecl.h>
#include <math.h> /* for inline mathematics */
#include <ecl/ecl-inl.h>