Victor,

Thank you very for your answer. I did your tip but it still
show me the error:

----------------------------
# make
cc -O2 -c ./wkcgi.c -o ./wkcgi.o
In file included from ../common/wkcommon.h:24,
                 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.
----------------------------

I did the follow changes in the wkcommon.h file:
----------------------------
# head -n 25 ../common/wkcommon.h

/* wkcommon.h */

#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef WIN32
#include <winsock.h>
#include <io.h>
#include <fcntl.h>
#include <time.h>
#define EINTR WSAEINTR
#define EAGAIN WSAEMFILE   //is this right????
#define strcasecmp _stricmp
#else
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
#if defined(BSD)
#include <netinet/in.h>
#include </usr/include/arpa/nameser.h>
#endif
#include <resolv.h>
#endif
----------------------------

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

Reply via email to