diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-08-29 14:12:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-08-29 14:12:28 +0000 |
commit | 6467942a689d3114c81c802e29dfd8a56574b537 (patch) | |
tree | 196c5a2fd0dead95d760c65e320a77b788e5c711 /net/asterisk12/files/patch-apps::app_rxfax.c | |
parent | Update to 1.1.1 (diff) |
Make app_rxfax/app_txfax compilable on 4.x.
Notes
Notes:
svn path=/head/; revision=141320
Diffstat (limited to 'net/asterisk12/files/patch-apps::app_rxfax.c')
-rw-r--r-- | net/asterisk12/files/patch-apps::app_rxfax.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net/asterisk12/files/patch-apps::app_rxfax.c b/net/asterisk12/files/patch-apps::app_rxfax.c index c8f4e3e296dc..88362bfc7914 100644 --- a/net/asterisk12/files/patch-apps::app_rxfax.c +++ b/net/asterisk12/files/patch-apps::app_rxfax.c @@ -1,6 +1,9 @@ ---- apps/app_rxfax.c.orig Fri Jun 17 21:13:01 2005 -+++ apps/app_rxfax.c Fri Jun 17 21:04:12 2005 -@@ -0,0 +1,367 @@ + +$FreeBSD$ + +--- apps/app_rxfax.c.orig ++++ apps/app_rxfax.c +@@ -0,0 +1,371 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * @@ -25,7 +28,11 @@ +#include <asterisk/manager.h> +#include <string.h> +#include <stdlib.h> ++#if defined(__FreeBSD__) && __FreeBSD_version < 500028 ++#include <inttypes.h> ++#else +#include <stdint.h> ++#endif +#include <pthread.h> +#include <errno.h> +#include <math.h> |