summaryrefslogtreecommitdiff
path: root/indra/llcommon/llhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llhash.h')
-rw-r--r--indra/llcommon/llhash.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llhash.h b/indra/llcommon/llhash.h
index fbf059bbcd..d03c70b04b 100644
--- a/indra/llcommon/llhash.h
+++ b/indra/llcommon/llhash.h
@@ -22,6 +22,8 @@
# else
# include <hashtable.h>
# endif
+#elif LL_SOLARIS
+#include <ext/hashtable.h>
#else
#error Please define your platform.
#endif
@@ -33,7 +35,7 @@ template<class T> inline size_t llhash(T value)
#elif ( (defined _STLPORT_VERSION) || ((LL_LINUX) && (__GNUC__ <= 2)) )
std::hash<T> H;
return H(value);
-#elif LL_DARWIN || LL_LINUX
+#elif LL_DARWIN || LL_LINUX || LL_SOLARIS
__gnu_cxx::hash<T> H;
return H(value);
#else