On Sat, 2011-10-15 at 08:22:54 -0400, Alfred M. Szmidt wrote: > * The problem with rpl_ioctl() and GNUlib for GNU/kFreeBSD > [1] must be resolved. It is beyond my understanding why > Simon is not attending to this problem, be it that he > prefers GNU/Hurd. > > We only use ioctl from <stropts.h> anyway, what about this? > > diff --git a/telnetd/telnetd.h b/telnetd/telnetd.h > index 7b5c033..b5b4a5b 100644 > --- a/telnetd/telnetd.h > +++ b/telnetd/telnetd.h > @@ -44,7 +44,7 @@ > #ifdef HAVE_SYS_PTYVAR_H > # include <sys/ptyvar.h> > #endif > -#ifdef HAVE_STROPTS_H > +#if defined HAVE_STROPTS_H && !defined HAVE_IOCTL > # include <stropts.h> > #endif > #include <sys/ioctl.h>
So while this might fix the issue, I think this is a workaround too, although better than the one I applied in Debian. I'll try to report the underlying issue to the gnulib maintainers. thanks, guillem
