| # | Line 7 | Line 7 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 7 | ||
| 8 | #include "copyright.h" | |
| 9 | ||
| 10 | < | #include <unistd.h> |
| 10 | > | #ifdef _WIN32 |
| 11 | > | #include <winsock2.h> |
| 12 | > | #else |
| 13 | > | #include <unistd.h> |
| 14 | > | #endif |
| 15 | ||
| 16 | #include "rtmisc.h" | |
| 17 | ||
| 18 | < | char * |
| 18 | > | extern char * |
| 19 | myhostname() | |
| 20 | { | |
| 21 | static char hostname[65]; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |