diff options
Diffstat (limited to 'media-libs/alsa-lib/files/alsa-lib-1.0.27-inline-2.patch')
-rw-r--r-- | media-libs/alsa-lib/files/alsa-lib-1.0.27-inline-2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.27-inline-2.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.27-inline-2.patch new file mode 100644 index 000000000000..e99bae864a9e --- /dev/null +++ b/media-libs/alsa-lib/files/alsa-lib-1.0.27-inline-2.patch @@ -0,0 +1,28 @@ +From a8f405b8f90d752c3609b9e918dc949c4efadf87 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai <tiwai@suse.de> +Date: Thu, 25 Apr 2013 09:55:49 +0200 +Subject: [PATCH] Add definition of __inline__ for non-GCC + +Signed-off-by: Takashi Iwai <tiwai@suse.de> +--- + include/asoundlib-head.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h +index 6edbab0..71b5c29 100644 +--- a/include/asoundlib-head.h ++++ b/include/asoundlib-head.h +@@ -40,6 +40,10 @@ + #include <errno.h> + #include <stdarg.h> + ++#ifndef __GNUC__ ++#define __inline__ inline ++#endif ++ + #include <alsa/asoundef.h> + #include <alsa/version.h> + #include <alsa/global.h> +-- +1.7.11.7 + |