[alsa-devel] [PATCH 2/5] pcm: add the missing <strings.h> include

Chih-Wei Huang cwhuang at android-x86.org
Fri Mar 15 10:17:03 CET 2019


To define the prototype of ffs. See 'man ffs'.

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
---
 src/pcm/mask_inline.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pcm/mask_inline.h b/src/pcm/mask_inline.h
index e9fb9f81..75ad3594 100644
--- a/src/pcm/mask_inline.h
+++ b/src/pcm/mask_inline.h
@@ -19,6 +19,7 @@
  *
  */
   
+#include <strings.h>
 #include <sys/types.h>
 
 #define MASK_INLINE static inline
-- 
2.20.1



More information about the Alsa-devel mailing list