diff options
author | Aki <please@ignore.pl> | 2022-03-29 22:43:33 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-29 22:43:33 +0200 |
commit | 648ced3e6b86597c2c1e52a7705ff3723c933d0e (patch) | |
tree | 3d15af12f6252e9e7cc2bf73e1103768a6ad958b /NetEx/HttpServer.h | |
parent | 6204e62c69c1a05d3beddd0c7397b3f54e576d74 (diff) | |
download | starshatter-648ced3e6b86597c2c1e52a7705ff3723c933d0e.zip starshatter-648ced3e6b86597c2c1e52a7705ff3723c933d0e.tar.gz starshatter-648ced3e6b86597c2c1e52a7705ff3723c933d0e.tar.bz2 |
Removed windows header usage in HttpServer
Diffstat (limited to 'NetEx/HttpServer.h')
-rw-r--r-- | NetEx/HttpServer.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |