--- a/src/libstatgrab/tools.h 2016-10-24 16:05:40.943140941 +0200 +++ b/src/libstatgrab/tools.h 2016-10-24 16:06:28.710682279 +0200 @@ -473,6 +473,7 @@ #include "trace.h" #ifdef SOLARIS +#include __sg_private const char *sg_get_svr_from_bsd(const char *bsd); #endif