Hello, I've just tried compiling libwww 5.1j on a Linux system with glibc2 (libc6) installed. The patch I've attached fixes it. Another problem with libwww is that it installs in /usr/local/share/w3c-icons even if configure is called with --prefix=/something/other/than/usr/local . I haven't fixed that. LLaP bero -- bero@bero-online.ml.org - ICQ/UIN 6545964 - http://www.star-trek.ml.org/ -- ATTENTION: People sending unwanted advertising e-mail to this address will be charged $25 for network traffic and computing time. By extracting my address from this message or its header, you agree to these terms. diff -urN w3c-libwww-5.1j/Library/src/HTFile.c w3c-libwww-5.1j-glibc/Library/src/HTFile.c --- w3c-libwww-5.1j/Library/src/HTFile.c Wed Mar 4 16:46:19 1998 +++ w3c-libwww-5.1j-glibc/Library/src/HTFile.c Tue Mar 17 14:09:51 1998 @@ -35,6 +35,13 @@ #include "HTReqMan.h" #include "HTMulti.h" #include "HTFile.h" /* Implemented here */ +#if defined(__GLIBC__) +#include +#undef S_IFMT +#undef S_IFDIR +#define S_IFMT __S_IFMT +#define S_IFDIR __S_IFDIR +#endif /* Final states have negative value */ typedef enum _FileState { diff -urN w3c-libwww-5.1j/Library/src/sysdep.h w3c-libwww-5.1j-glibc/Library/src/sysdep.h --- w3c-libwww-5.1j/Library/src/sysdep.h Tue Dec 16 22:12:53 1997 +++ w3c-libwww-5.1j-glibc/Library/src/sysdep.h Tue Mar 17 13:53:01 1998 @@ -67,6 +67,14 @@ */ #ifndef SYSDEP_H #define SYSDEP_H + +#ifndef u_short +#define u_short unsigned short +#endif +#ifndef u_long +#define u_long unsigned long +#endif + /* PLATFORM SPECIFIC STUFF