mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	swaylock: fix build with musl libc
Signed-off-by: Cameron Nemo <camerontnorman@gmail.com>
This commit is contained in:
		
							parent
							
								
									fd37ded3a3
								
							
						
					
					
						commit
						c6b2ee7291
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,7 @@
 | 
			
		|||
#include <errno.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#include <getopt.h>
 | 
			
		||||
#include <poll.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -961,7 +962,7 @@ int main(int argc, char **argv) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	state.eventloop = loop_create();
 | 
			
		||||
	loop_add_fd(state.eventloop, wl_display_get_fd(state.display), POLL_IN,
 | 
			
		||||
	loop_add_fd(state.eventloop, wl_display_get_fd(state.display), POLLIN,
 | 
			
		||||
			display_in, NULL);
 | 
			
		||||
 | 
			
		||||
	state.run_display = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue