I found that if you use "defined(BSD)" instead of __APPLE__ you should be able to build wkcgi cleanly for both official FreeBSD builds as well as OSX
In ../common/wkcommon.h, I added...
#if defined(BSD)
#include <netinet/in.h>
#include <nameser.h>
#endif
...immediately before...
#include <resolv.h>
On Tuesday, October 7, 2003, at 08:09 AM, Ronan Lucio wrote:
Hello All,
I'm trying to install Webware/Webkit in FreeBSD-4.8-RELEASE
box, but, when I do:
--------------------------
# cd /usr/src/Webware-0.8.1/WebKit/Adapters/wkcgi
# make
cc -02 -c ./wkcgi.c -o ./wkcgi.o
in file included from ../common/wkcommon.h:20,
from wkcgi.h:6,
from ./wkcgi.c:5:
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:114: field `addr' has incomplete type
/usr/include/resolv.h:129: field `ina' has incomplete type
/usr/include/resolv.h:130: field `in6a' has incomplete type
*** Error code 1
Stop in /usr/src/Webware-0.8.1/WebKit/Adapters/wkcgi.
--------------------------
Any help would be appreciated
Thanks
Ronan
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss