forked from Bananymous/banan-os
				
			LibC: Fix some headers to make gcc build again
This commit is contained in:
		
							parent
							
								
									265fe9c62e
								
							
						
					
					
						commit
						341f7e41e5
					
				| 
						 | 
					@ -11,12 +11,6 @@ __BEGIN_DECLS
 | 
				
			||||||
//        glibc seems to only define numerical
 | 
					//        glibc seems to only define numerical
 | 
				
			||||||
//        and posix constants
 | 
					//        and posix constants
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined __GNUC__ && !defined _GCC_LIMITS_H_
 | 
					 | 
				
			||||||
	#include_next <limits.h>
 | 
					 | 
				
			||||||
#else
 | 
					 | 
				
			||||||
	#error "unsupported compiler"
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
__END_DECLS
 | 
					__END_DECLS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,9 +12,10 @@ __BEGIN_DECLS
 | 
				
			||||||
#define PROT_READ	0x04
 | 
					#define PROT_READ	0x04
 | 
				
			||||||
#define PROT_WRITE	0x08
 | 
					#define PROT_WRITE	0x08
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MAP_FIXED	0x01
 | 
					#define MAP_FIXED		0x01
 | 
				
			||||||
#define MAP_PRIVATE	0x02
 | 
					#define MAP_PRIVATE		0x02
 | 
				
			||||||
#define MAP_SHARED	0x04
 | 
					#define MAP_SHARED		0x04
 | 
				
			||||||
 | 
					#define MAP_ANONYMOUS	0x08
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MS_ASYNC		0x01
 | 
					#define MS_ASYNC		0x01
 | 
				
			||||||
#define MS_INVALIDATE	0x02
 | 
					#define MS_INVALIDATE	0x02
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue