Index: llcommon/llsys.cpp
===================================================================
--- llcommon/llsys.cpp	(revision 236)
+++ llcommon/llsys.cpp	(working copy)
@@ -58,9 +58,19 @@
 #	include <sys/sysinfo.h>
 const char MEMINFO_FILE[] = "/proc/meminfo";
 const char CPUINFO_FILE[] = "/proc/cpuinfo";
+#elif LL_SOLARIS
+#       include <stdio.h>
+#       include <unistd.h>
+#       include <sys/utsname.h>
+#       define _STRUCTURED_PROC 1
+#       include <sys/procfs.h>
+#       include <sys/types.h>
+#       include <sys/stat.h>
+#       include <fcntl.h>
+#	include <errno.h>
+extern int errno;
 #endif
 
-
 static const S32 CPUINFO_BUFFER_SIZE = 16383;
 LLCPUInfo gSysCPU;
 
