Hello,<br>I'm trying to get imapfilters compiled on cygwin. I've gotten it mostly working, but I'm running into this error:<br><br>cc -Wall -O -DMAKEFILE_SHAREDIR='"/usr/local/share/imapfilter"' -I/usr/local/include -c -o socket.o socket.c<br>
socket.c: In function `open_connection':<br>socket.c:29: error: storage size of 'hints' isn't known<br>socket.c:39: error: invalid application of `sizeof' to incomplete type `addrinfo'<br>socket.c:44: warning: implicit declaration of function `getaddrinfo'<br>
socket.c:47: warning: implicit declaration of function `gai_strerror'<br>socket.c:56: error: dereferencing pointer to incomplete type<br>socket.c:56: error: dereferencing pointer to incomplete type<br>socket.c:57: error: dereferencing pointer to incomplete type<br>
socket.c:60: error: dereferencing pointer to incomplete type<br>socket.c:60: error: dereferencing pointer to incomplete type<br>socket.c:65: error: dereferencing pointer to incomplete type<br>socket.c:69: warning: implicit declaration of function `freeaddrinfo'<br>
socket.c:29: warning: unused variable `hints'<br>make: *** [socket.o] Error 1<br><br>Has anyone tried with cygwin? I see there was a patch in 2004, but nothing since. Any suggestions for this error?<br><br>thanks,<br>
Ben<br>