qpopper on linux kernel 2.0.32

Brian Roberson (brianr@bst.ml.org)
Tue, 20 Jan 1998 19:56:46 -0600 (CST)


below is a change to kernel ver 2.0.32 stdio.h to compile <all> qpopper
(Qualcomm) releases...

error recieved:
-------------------------------------------------------------------
In file included from pop_dele.c:15:
popper.h:154: conflicting types for `sys_errlist'
/usr/include/stdio.h:221: previous declaration of `sys_errlist'
make: *** [pop_dele.o] Error 1
------------------------------------------------------------------

<------------snip from stdio.h linux kernel ver 2.0.32-------->
#ifdef __USE_BSD
extern int sys_nerr;
extern const char *const sys_errlist[];
#endif
#ifdef __USE_GNU
extern int _sys_nerr;
extern const char *const _sys_errlist[];
#endif

<--------------------end snipit-------------------------------->
change to:

<-----------------mod/hack ------------------------------------>
/* #ifdef __USE_BSD
extern int sys_nerr;
extern const char *const sys_errlist[];
#endif */
#ifdef __USE_GNU
extern int _sys_nerr;
extern const char *const _sys_errlist[];
#endif
<-----------------------------end ------------------------------>

pretty hard eh ?? :)

** I dont subscribe to linux-kernel, if you wish to send comments please
send privately**

Brian Roberson
BrainStorm Technologies
brianr@bst.ml.org