Hi,
* pancake <[email protected]> [2009-10-09 16:19]:
> panc...@suntinel:~$ ggrep -re TIOCNOTTY /usr/include/
> /usr/include/sys/ttold.h:#define TIOCNOTTY (tIOC|113)
> /* void tty association */
> /usr/include/sys/termios.h:#define TIOCNOTTY (tIOC|113)
> /* void tty association */
>
> missing include?
>
> didnt check yet..but sys/termios.h is not included from havefork.c
Yep. Thanks. The
#include <sys/termios.h>
in havefork.h did it. I just didn't have the patience to do the `grep`,
after I spent ages to figure out that another error was due to the fact
that I can't link statically here... I had to change the `-dn` to `-dy` in
the LDFLAGS. (In case someone is experiencing the same problem,) Attached
patch worked for me.
cheers
--
stanio_