mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Import stdlib.h and define POSIX macro for rand()
This commit is contained in:
		
							parent
							
								
									0138f79b4a
								
							
						
					
					
						commit
						218a3787d2
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,5 +1,7 @@
 | 
				
			||||||
#include <wayland-client.h>
 | 
					#define _POSIX_C_SOURCE 199506L
 | 
				
			||||||
#include <math.h>
 | 
					#include <math.h>
 | 
				
			||||||
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					#include <wayland-client.h>
 | 
				
			||||||
#include "cairo.h"
 | 
					#include "cairo.h"
 | 
				
			||||||
#include "background-image.h"
 | 
					#include "background-image.h"
 | 
				
			||||||
#include "swaylock/swaylock.h"
 | 
					#include "swaylock/swaylock.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue