make
, no further config needed.
I sent it upstream to Koen, maybe it'll show up in a future versiom.
diff -ru afio-2.5.orig/afio.c afio-2.5/afio.c --- afio-2.5.orig/afio.c 2003-12-20 16:16:13.000000000 -0600 +++ afio-2.5/afio.c 2004-09-13 17:12:50.548515800 -0500 @@ -184,7 +184,11 @@ #include#include #include +#ifdef __CYGWIN32__ +#include +#else #include +#endif #include #include #include Only in afio-2.5: afio.exe diff -ru afio-2.5.orig/afio.h afio-2.5/afio.h --- afio-2.5.orig/afio.h 2003-12-20 07:59:42.000000000 -0600 +++ afio-2.5/afio.h 2004-09-13 15:17:51.700744200 -0500 @@ -477,7 +477,7 @@ #ifndef MKDIR int rmdir (char *); #endif -#if !defined (linux) && !defined(__FreeBSD__) && !defined(sun) +#if !defined (linux) && !defined(__FreeBSD__) && !defined(sun) && !defined(__CYGWIN32__) VOIDFN (*signal ())(); #endif int fswrite (int, char*, uint); diff -ru afio-2.5.orig/compfile.c afio-2.5/compfile.c --- afio-2.5.orig/compfile.c 2003-06-24 16:32:20.000000000 -0500 +++ afio-2.5/compfile.c 2004-09-13 15:03:44.532576200 -0500 @@ -210,7 +210,7 @@ * version; */ -#if ( defined(sun) && defined(__svr4__) ) +#if ( defined(sun) && defined(__svr4__) ) || defined(__CYGWIN32__) #include #else #include