mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	Fix for deprecated warnings related to gnu libc sys macros.
The patch only includes sysmacros for linux, the only target with gnu libc to avoid regression issues.
This commit is contained in:
		
							parent
							
								
									0d115796c2
								
							
						
					
					
						commit
						51db5ff378
					
				
					 3 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -90,6 +90,11 @@
 | 
			
		|||
#define __VA_START__(p,a)	va_start(p)
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(__linux__)
 | 
			
		||||
#include <sys/sysmacros.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "pax.h"
 | 
			
		||||
#include "options.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -90,6 +90,11 @@
 | 
			
		|||
#define __VA_START__(p,a)	va_start(p)
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(__linux__)
 | 
			
		||||
#include <sys/sysmacros.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "pax.h"
 | 
			
		||||
#include "options.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -90,6 +90,11 @@
 | 
			
		|||
#define __VA_START__(p,a)	va_start(p)
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(__linux__)
 | 
			
		||||
#include <sys/sysmacros.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <ast.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <ls.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue