Browse Source

Include winsock2.h before windows.h.

master
adeniz 4 years ago
parent
commit
71618d3619
5 changed files with 39 additions and 0 deletions
  1. 8
    0
      GBUdb.hpp
  2. 8
    0
      SNFMulti.hpp
  3. 7
    0
      snfGBUdbmgr.hpp
  4. 8
    0
      snfLOGmgr.hpp
  5. 8
    0
      snfXCImgr.hpp

+ 8
- 0
GBUdb.hpp View File

#pragma once #pragma once


#include "../CodeDweller/faults.hpp" #include "../CodeDweller/faults.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp" #include "../CodeDweller/threading.hpp"
#include <cmath> #include <cmath>
#include <cctype> #include <cctype>

+ 8
- 0
SNFMulti.hpp View File

#include <ctime> #include <ctime>
#include <string> #include <string>
#include "../CodeDweller/faults.hpp" #include "../CodeDweller/faults.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp" #include "../CodeDweller/threading.hpp"
#include "GBUdb.hpp" #include "GBUdb.hpp"
#include "FilterChain.hpp" #include "FilterChain.hpp"

+ 7
- 0
snfGBUdbmgr.hpp View File



#pragma once #pragma once


#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp" #include "../CodeDweller/threading.hpp"
#include "../CodeDweller/timing.hpp" #include "../CodeDweller/timing.hpp"
#include "snfCFGmgr.hpp" #include "snfCFGmgr.hpp"

+ 8
- 0
snfLOGmgr.hpp View File

#include <cstdio> #include <cstdio>


#include "../CodeDweller/timing.hpp" #include "../CodeDweller/timing.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp" #include "../CodeDweller/threading.hpp"
#include "../CodeDweller/histogram.hpp" #include "../CodeDweller/histogram.hpp"



+ 8
- 0
snfXCImgr.hpp View File

#include <string> #include <string>
#include <queue> #include <queue>
#include "../CodeDweller/timing.hpp" #include "../CodeDweller/timing.hpp"

#ifdef WIN32

// Required because threading.hpp includes windows.h.
#include <winsock2.h>

#endif

#include "../CodeDweller/threading.hpp" #include "../CodeDweller/threading.hpp"
#include "../CodeDweller/networking.hpp" #include "../CodeDweller/networking.hpp"
#include "snf_xci.hpp" #include "snf_xci.hpp"

Loading…
Cancel
Save