diff options
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r-- | indra/llwindow/llwindowwin32.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h index 6803ad6f2a..0b6fd5157a 100644 --- a/indra/llwindow/llwindowwin32.h +++ b/indra/llwindow/llwindowwin32.h @@ -9,6 +9,11 @@ #ifndef LL_LLWINDOWWIN32_H #define LL_LLWINDOWWIN32_H +// Limit Windows API to small and manageable set. +#define WIN32_LEAN_AND_MEAN +#include <winsock2.h> +#include <windows.h> + #include "llwindow.h" // Hack for async host by name @@ -152,8 +157,6 @@ protected: BOOL mMousePositionModified; BOOL mInputProcessingPaused; - friend HWND llwindow_get_hwnd(LLWindow *window); - friend void llwindow_install_wndproc(LLWindow *window, WNDPROC wnd_proc); friend class LLWindowManager; }; |