mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	Update include/sound/asound.h from 4.6-pre kernel uapi
The inclusion of <linux/*.h> is done conditionally for Linux in order to improve portability. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									19fbcb7ce4
								
							
						
					
					
						commit
						2c68581c50
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -23,7 +23,11 @@ | |||
| #ifndef _UAPI__SOUND_ASOUND_H | ||||
| #define _UAPI__SOUND_ASOUND_H | ||||
| 
 | ||||
| #if defined(__KERNEL__) || defined(__linux__) | ||||
| #include <linux/types.h> | ||||
| #else | ||||
| #include <sys/ioctl.h> | ||||
| #endif | ||||
| 
 | ||||
| #ifndef __KERNEL__ | ||||
| #include <stdlib.h> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Takashi Iwai
						Takashi Iwai