? osxcompat.txt Index: Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/Makefile,v retrieving revision 1.125 diff -u -r1.125 Makefile --- Makefile 14 Dec 2004 23:36:29 -0000 1.125 +++ Makefile 19 Dec 2004 09:39:02 -0000 @@ -207,6 +207,7 @@ endif ifeq (${OSARCH},Darwin) LIBS+=-lresolv +CFLAGS+=-D__OSX__ endif ifeq (${OSARCH},FreeBSD) LIBS+=-lcrypto Index: config.c =================================================================== RCS file: /usr/cvsroot/asterisk/config.c,v retrieving revision 1.40 diff -u -r1.40 config.c --- config.c 15 Dec 2004 16:01:13 -0000 1.40 +++ config.c 19 Dec 2004 09:39:02 -0000 @@ -19,6 +19,9 @@ #include #define AST_INCLUDE_GLOB 1 #ifdef AST_INCLUDE_GLOB +#ifdef __OSX__ +#define GLOB_ABORTED GLOB_ABEND +#endif # include #endif #include Index: pbx/pbx_dundi.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx/pbx_dundi.c,v retrieving revision 1.20 diff -u -r1.20 pbx_dundi.c --- pbx/pbx_dundi.c 14 Dec 2004 23:36:30 -0000 1.20 +++ pbx/pbx_dundi.c 19 Dec 2004 09:39:05 -0000 @@ -39,7 +39,7 @@ #include #include #include -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(SOLARIS) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(SOLARIS) || defined(__OSX__) #include #include #endif @@ -47,7 +47,7 @@ #include #include #include -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OSX__) #include #include #endif