From a9af41a9f109b244cf43d8c5ba55416a0d11d435 Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Fri, 29 Aug 2008 00:35:25 +0000 Subject: [PATCH] Correctly use linksets with PCC too. --- dist/openpam/include/security/openpam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/openpam/include/security/openpam.h b/dist/openpam/include/security/openpam.h index 9ba78b8a8ee9..fa5c0ef5d42c 100644 --- a/dist/openpam/include/security/openpam.h +++ b/dist/openpam/include/security/openpam.h @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: openpam.h,v 1.10 2008/01/31 20:07:46 christos Exp $ + * $Id: openpam.h,v 1.11 2008/08/29 00:35:25 gmcgarry Exp $ */ #ifndef SECURITY_OPENPAM_H_INCLUDED @@ -320,7 +320,7 @@ struct pam_module { #define DATA_SET(a, b) __link_set_add_data(a, b) #endif -#if defined(__GNUC__) && !defined(NO_STATIC_MODULES) +#if (defined(__GNUC__) || defined(__PCC__)) && !defined(NO_STATIC_MODULES) /* gcc, static linking */ # include # ifdef __FreeBSD__