Fix windows build

This commit is contained in:
Drake Arconis
2016-01-20 10:08:44 -05:00
parent 35c409f744
commit 5e611669ab

View File

@@ -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>