commit | 4c5a11d872b3cc09d267ddf39bf9d2b8c1a3e98d | [log] [tgz] |
---|---|---|
author | Taylor Holberton <taylorcholberton@gmail.com> | Wed Nov 28 14:29:52 2018 -0500 |
committer | Taylor Holberton <taylorcholberton@gmail.com> | Wed Nov 28 14:29:52 2018 -0500 |
tree | 5a7a1ca8bce2f2454d5b8d9be22567fe0d51be3f | |
parent | 88afbfbb548981e3c2a6fe28380f3cdb661ab8b9 [diff] [blame] |
Checking for definition of __bitwise, __force, __user
diff --git a/src/pcm.c b/src/pcm.c index f1d733f..d70f789 100644 --- a/src/pcm.c +++ b/src/pcm.c
@@ -42,9 +42,19 @@ #include <limits.h> #include <linux/ioctl.h> + +#ifndef __force #define __force +#endif + +#ifndef __bitwise #define __bitwise +#endif + +#ifndef __user #define __user +#endif + #include <sound/asound.h> #include <tinyalsa/pcm.h>