summaryrefslogtreecommitdiff
path: root/indra/llcommon/llapr.h
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2009-12-14 11:07:29 -0800
committerbrad kittenbrink <brad@lindenlab.com>2009-12-14 11:07:29 -0800
commitcb9b874b17aa4b284a622961e1e09ef42d8cd284 (patch)
tree8f88ba469b3016ccec982d881040a06325b762a5 /indra/llcommon/llapr.h
parenta9e409c7071ba74f01158aa7b876a1ad60161fc4 (diff)
parent7c69928ff8892f0cb4a3a6ad155106ebef7e1f8a (diff)
Merge of my old precompiled headers dependency cleanup with tip of viewer-2-0.
Diffstat (limited to 'indra/llcommon/llapr.h')
-rw-r--r--indra/llcommon/llapr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h
index b08bb617c5..b05a222b33 100644
--- a/indra/llcommon/llapr.h
+++ b/indra/llcommon/llapr.h
@@ -38,6 +38,14 @@
#if LL_LINUX || LL_SOLARIS
#include <sys/param.h> // Need PATH_MAX in APR headers...
#endif
+#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 <boost/noncopyable.hpp>