mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	res/stasis/control.c: include signal.h
Include signal.h to avoid the following build failure with uclibc-ng raised since2694792e13: stasis/control.c: In function 'exec_command_on_condition': stasis/control.c:313:3: warning: implicit declaration of function 'pthread_kill'; did you mean 'pthread_yield'? [-Wimplicit-function-declaration] 313 | pthread_kill(control->control_thread, SIGURG); | ^~~~~~~~~~~~ | pthread_yield stasis/control.c:313:41: error: 'SIGURG' undeclared (first use in this function) 313 | pthread_kill(control->control_thread, SIGURG); | ^~~~~~ cherry-pick-to: 18 cherry-pick-to: 20 cherry-pick-to: 21 Fixes: #729 (cherry picked from commit044f3e85ba)
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							fc35e92ece
						
					
				
				
					commit
					9efb9c7d45
				
			| @@ -41,6 +41,8 @@ | ||||
| #include "asterisk/musiconhold.h" | ||||
| #include "asterisk/app.h" | ||||
|  | ||||
| #include <signal.h> | ||||
|  | ||||
| AST_LIST_HEAD(app_control_rules, stasis_app_control_rule); | ||||
|  | ||||
| /*! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user