mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	test/playmidi1: fix compilation caused by conflict between midifile.h and ump_msg.h
It's a fast fix. The better way is to fix midifile.h or remote this example (we have already some Closes: https://github.com/alsa-project/alsa-lib/issues/436 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									a7de48692f
								
							
						
					
					
						commit
						c8bc54a9ca
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -45,10 +45,11 @@ | |||
| #include <errno.h> | ||||
| #include <string.h> | ||||
| 
 | ||||
| #include "../include/asoundlib.h" | ||||
| 
 | ||||
| #include "midifile.h"		/* SMF library header */ | ||||
| #include "midifile.c"		/* SMF library code */ | ||||
| 
 | ||||
| #include "../include/asoundlib.h" | ||||
| 
 | ||||
| /* send the real-time time stamps (instead of midi ticks) to the ALSA sequencer */ | ||||
| static int use_realtime = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela