 e415d48872
			
		
	
	
		e415d48872
		
	
	
	
	
		
			
			Bumping libc files for unsupported architectures, to simplify merging. A bunch of small fixes: * in libutil update * the macro in endian.h * some undefined types due to clear separation from host. * Fix a warning for cdbr.c Some modification which were required for the new build system: * inclusion path for const.h in sconst, still hacky * Removed default malloc.c which conflicts on some occasions.
		
			
				
	
	
		
			36 lines
		
	
	
		
			857 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			857 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __NBSD_LIBC
 | |
| #define _POSIX_SOURCE      1	/* tell headers to include POSIX stuff */
 | |
| #endif
 | |
| #define _MINIX             1	/* tell headers to include MINIX stuff */
 | |
| #define _SYSTEM            1	/* tell headers that this is the kernel */
 | |
| 
 | |
| #include <stdlib.h>
 | |
| #include <stdio.h>
 | |
| #include <string.h>
 | |
| #include <assert.h>
 | |
| #include <sys/types.h>
 | |
| #include <sys/stat.h>
 | |
| #include <sys/queue.h>
 | |
| #include <sys/ucred.h>
 | |
| #include <limits.h>
 | |
| #include <unistd.h>
 | |
| #include <signal.h>
 | |
| #include <errno.h>
 | |
| 
 | |
| #include <minix/config.h>
 | |
| #include <minix/callnr.h>
 | |
| #include <minix/type.h>
 | |
| #include <minix/const.h>
 | |
| #include <minix/com.h>
 | |
| #include <minix/syslib.h>
 | |
| #include <minix/sysutil.h>
 | |
| #include <minix/keymap.h>
 | |
| #include <minix/bitmap.h>
 | |
| #include <minix/vfsif.h>
 | |
| #include <minix/endpoint.h>
 | |
| #include <minix/vtreefs.h>
 | |
| 
 | |
| #include "glo.h"
 | |
| #include "proto.h"
 | |
| #include "inode.h"
 |