From 6467942a689d3114c81c802e29dfd8a56574b537 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 29 Aug 2005 14:12:28 +0000 Subject: Make app_rxfax/app_txfax compilable on 4.x. --- net/asterisk-devel/files/patch-apps::app_txfax.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'net/asterisk-devel/files/patch-apps::app_txfax.c') diff --git a/net/asterisk-devel/files/patch-apps::app_txfax.c b/net/asterisk-devel/files/patch-apps::app_txfax.c index 52bcc3fdde23..8daf0f979334 100644 --- a/net/asterisk-devel/files/patch-apps::app_txfax.c +++ b/net/asterisk-devel/files/patch-apps::app_txfax.c @@ -1,6 +1,9 @@ ---- apps/app_txfax.c.orig Fri Jun 17 21:13:05 2005 -+++ apps/app_txfax.c Fri Jun 17 21:00:43 2005 -@@ -0,0 +1,289 @@ + +$FreeBSD$ + +--- apps/app_txfax.c.orig ++++ apps/app_txfax.c +@@ -0,0 +1,293 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * @@ -23,7 +26,11 @@ +#include +#include +#include ++#if defined(__FreeBSD__) && __FreeBSD_version < 500028 ++#include ++#else +#include ++#endif +#include +#include +#include -- cgit v1.2.3