 6c8f7fc3ba
			
		
	
	
		6c8f7fc3ba
		
	
	
	
	
		
			
			. add all sys/sys headers not already present to help compiling . take netbsd dirent.h and struct dirent; main result is introducing d_type and d_namlen that have to be set by getdents() in all FS code implementing it . d_off is gone . alignment of the struct has become 8 bytes instead of 4 . remove _MAX_BLOCK_SIZE, _MIN_BLOCK_SIZE, _STATIC_BLOCK_SIZE . libminlib: cleanup unused yet duplicate code . mfs: throw out the long-broken v1, v2 support . new test for dirent contents filled by getdents() Change-Id: I1459755c7ba5e5d1c9396d3a587ce6e63ddc283e
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _PROCFS_INC_H
 | |
| #define _PROCFS_INC_H
 | |
| 
 | |
| #define _SYSTEM		1
 | |
| 
 | |
| #include <minix/config.h>
 | |
| #include <limits.h>
 | |
| #include <errno.h>
 | |
| #include <signal.h>
 | |
| #include <unistd.h>
 | |
| #include <stdlib.h>
 | |
| #include <stdio.h>
 | |
| #include <string.h>
 | |
| #include <assert.h>
 | |
| #include <fcntl.h>
 | |
| #include <lib.h>
 | |
| #include <minix/timers.h>
 | |
| #include <sys/dirent.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/bitmap.h>
 | |
| #include <minix/vfsif.h>
 | |
| #include <minix/endpoint.h>
 | |
| #include <minix/sysinfo.h>
 | |
| #include <minix/u64.h>
 | |
| #include <minix/sysinfo.h>
 | |
| #include <minix/type.h>
 | |
| #include <minix/ipc.h>
 | |
| 
 | |
| #include <sys/utsname.h>
 | |
| #include <sys/time.h>
 | |
| #include <sys/times.h>
 | |
| #include <sys/types.h>
 | |
| #include <sys/param.h>
 | |
| #include <sys/stat.h>
 | |
| #include <sys/ioctl.h>
 | |
| 
 | |
| #include <machine/archtypes.h>
 | |
| #include "kernel/const.h"
 | |
| #include "kernel/type.h"
 | |
| #include "kernel/proc.h"
 | |
| #include "pm/mproc.h"
 | |
| #include "vfs/const.h"
 | |
| #include "vfs/fproc.h"
 | |
| #include "vfs/dmap.h"
 | |
| 
 | |
| #include <minix/vtreefs.h>
 | |
| #include <minix/procfs.h>
 | |
| 
 | |
| #include "const.h"
 | |
| #include "type.h"
 | |
| #include "proto.h"
 | |
| #include "glo.h"
 | |
| 
 | |
| #endif /* _PROCFS_INC_H */
 |