Commit 4c454491 authored by Alexandre Julliard's avatar Alexandre Julliard

ws2_32/tests: Fix the gethostname prototype.

parent 6121af50
......@@ -1768,7 +1768,7 @@ static void test_dns(void)
/* Our winsock headers don't define gethostname because it conflicts with the
* definition in unistd.h. Define it here to get rid of the warning. */
int gethostname(char *name, int namelen);
int WINAPI gethostname(char *name, int namelen);
static void test_gethostbyname_hack(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment