Skip to content

Commit

Permalink
Add winsock includes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Goodwin committed Sep 20, 2021
1 parent a2de96e commit 563311a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/servers/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@

#ifdef _WIN32
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#pragma comment(lib, "ws2_32.lib")
#endif

#ifndef _WIN32
#include <getopt.h>
#include <unistd.h>
#endif

#include <stdint.h>
#include <algorithm>
#include <cctype>
Expand Down

0 comments on commit 563311a

Please sign in to comment.