From kde-bugs-dist Wed Jul 28 06:42:49 1999 From: Stefan.Becker () nmp ! nokia ! com Date: Wed, 28 Jul 1999 06:42:49 +0000 To: kde-bugs-dist Subject: Bug#1620: Compilation error in 1.1.2pre for target hppa1.1-hp-hpux10.20 X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=93314715119289 Package: kbiff Version: 1.1.2pre HP-UX does not include the declaration for h_errno, thus the compilation fails. Don't ask me why it's flagged in the standard HP-UX include files :-) The following patch fixes the problem for now. But I would suggest that in the future there should be a configure check for h_errno. --------------------------- CUT HERE --------------------------------- --- kdenetwork/kbiff/kbiffmonitor.cpp~ Fri Jun 4 04:25:09 1999 +++ kdenetwork/kbiff/kbiffmonitor.cpp Tue Jul 27 12:08:39 1999 @@ -35,6 +35,10 @@ #define MAXSTR (1024) +#if defined (_HPUX_SOURCE) +extern int h_errno; +#endif + static bool real_from(const char *buffer); static const char *compare_header(const char *header, const char *field); --------------------------- CUT HERE --------------------------------- Regards, Stefan --- Stefan Becker E-Mail: Stefan.Becker@nmp.nokia.com