Browse Source

in_addr_t not available on windows

We could #define it but uint32_t is more explicit anyway
Matt Clarkson 10 years ago
parent
commit
05f3bf9d5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -9230,7 +9230,7 @@ static void *worker_thread_run(void *thread_func_param)
 	struct mg_context *ctx = (struct mg_context *)thread_func_param;
 	struct mg_connection *conn;
 	struct mg_workerTLS tls;
-	in_addr_t addr;
+	uint32_t addr;
 
 	mg_set_thread_name("worker");