Fix windows build
This commit is contained in:
@@ -41,6 +41,17 @@
|
||||
|
||||
#include "linden_common.h"
|
||||
|
||||
// We may want to take the windows.h include out, but it used to be in
|
||||
// linden_common.h, and hence in all the libraries. This is better. JC
|
||||
#if LL_WINDOWS
|
||||
// Limit Windows API to small and manageable set.
|
||||
// If you get undefined symbols, find the appropriate
|
||||
// Windows header file and include that in your .cpp file.
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
|
||||
Reference in New Issue
Block a user