--- ray/src/common/myhostname.c 2003/07/17 09:21:29 2.5 +++ ray/src/common/myhostname.c 2003/10/27 10:19:31 2.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: myhostname.c,v 2.5 2003/07/17 09:21:29 schorsch Exp $"; +static const char RCSid[] = "$Id: myhostname.c,v 2.7 2003/10/27 10:19:31 schorsch Exp $"; #endif /* * Query system for host name @@ -7,11 +7,15 @@ static const char RCSid[] = "$Id: myhostname.c,v 2.5 2 #include "copyright.h" -#include +#ifdef _WIN32 + #include +#else + #include +#endif #include "rtmisc.h" -char * +extern char * myhostname() { static char hostname[65];