--- trousers-0.3.11.2/src/include/trousers_types.h.orig +++ trousers-0.3.11.2/src/include/trousers_types.h @@ -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 (__sun)) #define BSD_CONST const #endif