From c636a39a6064e87856da4a4980ce9e6afdd869be Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 20 Aug 1998 19:44:02 +0000 Subject: [PATCH] BSD has re_comp/re_exec in -lcompat --- build/platforms/freebsd-gcc/Make-platform | 1 + include/portable.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/platforms/freebsd-gcc/Make-platform b/build/platforms/freebsd-gcc/Make-platform index f5750b49ce..25b326070b 100644 --- a/build/platforms/freebsd-gcc/Make-platform +++ b/build/platforms/freebsd-gcc/Make-platform @@ -44,3 +44,4 @@ LDAP_CRYPT_LIB= -lcrypt # ------------------------------------------------------------------------- CC = gcc PLATFORMCFLAGS= -Dfreebsd +PLATFORMLIBS=-lcompat diff --git a/include/portable.h b/include/portable.h index 48838109ad..8d08f6feff 100644 --- a/include/portable.h +++ b/include/portable.h @@ -101,7 +101,7 @@ * some systems don't have the BSD re_comp and re_exec routines */ #ifndef NEED_BSDREGEX -#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( freebsd ) || defined( linux ) +#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( linux ) #define NEED_BSDREGEX #endif #endif -- 2.39.5