$NetBSD: patch-ab,v 1.5 2008/05/09 18:30:49 agc Exp $ --- pardiff/pardiff.c.orig 2006-01-09 17:50:29.000000000 +0000 +++ pardiff/pardiff.c @@ -287,7 +287,7 @@ * Preprocess lines to get a consistent EOL */ if (convertCrlf) { -#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) line_len = strlen(nextline); #else line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE);