summaryrefslogtreecommitdiff
path: root/comms/asterisk18/patches/patch-bo
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk18/patches/patch-bo')
-rw-r--r--comms/asterisk18/patches/patch-bo17
1 files changed, 17 insertions, 0 deletions
diff --git a/comms/asterisk18/patches/patch-bo b/comms/asterisk18/patches/patch-bo
new file mode 100644
index 00000000000..4744c508a42
--- /dev/null
+++ b/comms/asterisk18/patches/patch-bo
@@ -0,0 +1,17 @@
+$NetBSD: patch-bo,v 1.1 2012/05/06 05:40:50 jnemeth Exp $
+
+--- include/asterisk/inline_api.h.orig 2006-02-14 19:14:15.000000000 +0000
++++ include/asterisk/inline_api.h
+@@ -46,7 +46,11 @@
+ #if !defined(LOW_MEMORY)
+
+ #if !defined(AST_API_MODULE)
+-#define AST_INLINE_API(hdr, body) hdr; extern inline hdr body
++# ifndef __GNUC_STDC_INLINE__
++# define AST_INLINE_API(hdr, body) hdr; extern inline hdr body
++# else
++# define AST_INLINE_API(hdr, body) inline hdr body
++# endif
+ #else
+ #define AST_INLINE_API(hdr, body) hdr; hdr body
+ #endif