"Geilow, John" <[email protected]> writes:

> "../rshd.c", line 122: identifier redeclared: gethostname
>         current : function(pointer to char, int) returning int
>         previous: function(pointer to char, unsigned long) returning int : 
> "/usr/include/unistd.h", line 334

If you look in unistd.h where gethostname is declared, there's likely a
feature macro that gets the non-POSIX (old BSD?) definition, and it
might help with other possible incompatibilities.

The block declaring it, as above, should be excised, though.  There's
too much like that in the code.
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to