diff options
Diffstat (limited to 'linden/indra/llplugin/llpluginsharedmemory.cpp')
-rw-r--r-- | linden/indra/llplugin/llpluginsharedmemory.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llplugin/llpluginsharedmemory.cpp b/linden/indra/llplugin/llpluginsharedmemory.cpp index 2be4648..c946619 100644 --- a/linden/indra/llplugin/llpluginsharedmemory.cpp +++ b/linden/indra/llplugin/llpluginsharedmemory.cpp | |||
@@ -34,6 +34,13 @@ | |||
34 | 34 | ||
35 | #include "llpluginsharedmemory.h" | 35 | #include "llpluginsharedmemory.h" |
36 | 36 | ||
37 | #if LL_WINDOWS | ||
38 | #include <process.h> | ||
39 | #else // LL_WINDOWS | ||
40 | #include <sys/types.h> | ||
41 | #include <unistd.h> | ||
42 | #endif // LL_WINDOWS | ||
43 | |||
37 | // on Mac and Linux, we use the native shm_open/mmap interface by using | 44 | // on Mac and Linux, we use the native shm_open/mmap interface by using |
38 | // #define USE_SHM_OPEN_SHARED_MEMORY 1 | 45 | // #define USE_SHM_OPEN_SHARED_MEMORY 1 |
39 | // in the appropriate sections below. | 46 | // in the appropriate sections below. |