# Include Solaris as defining const keyword to remove compiler warnings.
# Solaris-specific, but suitable for use upstream.
# This change was implemented in-house.
#
--- src/include/trousers_types.h 2010-09-10 12:50:27.000000000 -0700
+++ src/include/trousers_types.h 2012-04-23 13:53:43.275840000 -0700
@@ -118,9 +118,9 @@
BYTE *encData;
} TSS_KEY;
-#if (defined (__linux) || defined (linux) || defined (SOLARIS) || defined (__GLIBC__))
+#if (defined (__linux) || defined (linux) || defined (__GLIBC__))
#define BSD_CONST
-#elif (defined (__OpenBSD__) || defined (__FreeBSD__))
+#elif (defined (__OpenBSD__) || defined (__FreeBSD__) || defined (SOLARIS))
#define BSD_CONST const
#endif