[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling under hurd

Diego Roversi wrote:
> [...]
> #ifndef USE_SYSV_PTYS
> #include <grp.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> static int pty_open_master_pty (int *master, char *slave_tty_name)
> {

The application should use openpty directly.
If that is absent the program should contain an replacement 

Put the clone in its own file and have configure include this file
in the programs dependencies. Always try to avoid depending on cpp.

Reply to: