define _POSIX_C_SOURCE through CPPFLAGS
like dwm
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
| include config.mk | ||||
|  | ||||
| # flags for compiling | ||||
| DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -DVERSION=\"$(VERSION)\" | ||||
| DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" | ||||
|  | ||||
| # Wayland utils | ||||
| WAYLAND_PROTOCOLS = `pkg-config --variable=pkgdatadir wayland-protocols` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user