From bc5c4c1a3831f9abbde427e894165f1cd7c42bc0 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 21 Apr 2005 10:24:32 +0000 Subject: FreeBSD port --- stringbuf.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'stringbuf.c') diff --git a/stringbuf.c b/stringbuf.c index b9a7721d..12bb02d6 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -37,8 +37,16 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - +#ifdef __FreeBSD__ +#define BSD +#endif + + +#ifdef BSD +#include +#else #include +#endif #include #include #include "liblogging-stub.h" -- cgit