--- examples/rlfe/extern.h.orig 2006-09-28 11:33:35.372527000 +0200 +++ examples/rlfe/extern.h 2006-09-28 11:39:01.460499000 +0200 @@ -27,6 +27,14 @@ #define __attribute__(x) #endif +#ifndef __P +# if defined(__STDC__) || defined(__cplusplus) +# define __P(p) p +# else +# define __P +# endif +#endif /* __P */ + /* pty.c */ extern int OpenPTY __P((char **)); extern void InitPTY __P((int));