[Libevent-users] Build libevent-1.2a on cygwin

Phil Oleson oz at nixil.net
Fri Jan 26 01:39:42 EST 2007


Hor Meng Yoong wrote:
> Hi:
> 
>   I faced problem compiling libevent-1.2a on cygwin. Mainly cygwin's 
> header for struct addrinfo and getaddrinfo(), etc are not in the 
> standard /usr/include but in /usr/include/w32api/. As I do not know 
> configure, anyone has fixed it?


Try something like:
env CFLAGS=-I/usr/include/w32api ./configure <..your other args here..>

good luck.

	-Phil.


More information about the Libevent-users mailing list