summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--NetEx/HttpServer.cpp4
-rw-r--r--NetEx/HttpServer.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/NetEx/HttpServer.cpp b/NetEx/HttpServer.cpp
index a7522e8..98d997f 100644
--- a/NetEx/HttpServer.cpp
+++ b/NetEx/HttpServer.cpp
@@ -13,8 +13,8 @@
#include "HttpServer.h"
+#include <stdint.h>
#include <stdio.h>
-#include <windows.h>
#include "HttpParam.h"
#include "HttpRequest.h"
@@ -25,7 +25,7 @@
#include "Text.h"
-HttpServer::HttpServer(WORD port, int poolsize) :
+HttpServer::HttpServer(uint16_t port, int poolsize) :
NetServer(port, poolsize)
{
http_server_name = "Generic HttpServer 1.0";
diff --git a/NetEx/HttpServer.h b/NetEx/HttpServer.h
index 8bac7ab..2bba488 100644
--- a/NetEx/HttpServer.h
+++ b/NetEx/HttpServer.h
@@ -14,7 +14,7 @@
#ifndef HttpServer_h
#define HttpServer_h
-#include <windows.h>
+#include <stdint.h>
#include "HttpRequest.h"
#include "HttpResponse.h"
@@ -28,7 +28,7 @@ class HttpServer : public NetServer
public:
static const char* TYPENAME() { return "HttpServer"; }
- HttpServer(WORD port, int poolsize=1);
+ HttpServer(uint16_t port, int poolsize=1);
virtual ~HttpServer();
int operator == (const HttpServer& l) const { return addr == l.addr; }