return SCM_CREDENTIALS;
#elif G_CREDENTIALS_USE_FREEBSD_CMSGCRED
return SCM_CREDS;
+#elif G_CREDENTIALS_USE_NETBSD_UNPCBID
+ return SCM_CREDS;
+#elif G_CREDENTIALS_USE_SOLARIS_UCRED
+ return SCM_UCRED;
#elif G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED
#error "G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED is set but there is no msg_type defined for this platform"
#else