summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-04-25 09:55:49 +0200
committerTakashi Iwai <tiwai@suse.de>2013-04-25 09:55:49 +0200
commita8f405b8f90d752c3609b9e918dc949c4efadf87 (patch)
tree8b06946cc08ca3572dfd8cbbb717403b45e5a2b7 /include
parent30122df4faf7ccc79b9525db95f55c5a8ed6fe4d (diff)
Add definition of __inline__ for non-GCC
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/asoundlib-head.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h
index 6edbab00..71b5c29f 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>