minix/nbsd_include/arch/i386/include
Gianluca Guida f19a4bf1c4 Various fixes for NBSD include.
This patch include various fixes to NBSD includes.

- unistd.h: Avoid different linkages on non-_NETBSD_SOURCE 
 compilation;
- stdlib.h: remove devname declaration.
- sys/select.h: Add _MINIX specific flags.
- limits.h: Add SYMLOOP_MAX and SYMLINK_MAX
- time.h: Fix CLOCKS_PER_SEC and remove BSD's timer_t, as it
  confuses minix own specific timers.
- utmp.h: Set Minix-specific paths and use Minix utmp format.
- param.h: Do not set BSD4_4, as this mostly means sa_len in
  struct sock_addr.
- arch/i386/include/param.h: include <machine/vmparam.h> to 
  add PAGE_SIZE and related macros, defined round_page() and
  trunc_page() for minix compatibility.

- dirent.h: remove DIRBLKSIZ and fix d_ino/d_fileno.
- sys/dir.h: ADD from existing includes and edit include
  conditions.
- sys/dirent.h: include <minix/dirent.h>, fix d_ino/d_fileno.

- sys/fd_set.h: set default FD_SETSIZE at __MINIX_OPENMAX, as 
  the default NetBSD value is too big and cause vfs to return
  an error.
- sys/cdefs.h: Always include <minix/ansi.h>

- minix/paths.h: Add Minix-specific paths.
- minix/dirent.h: ADD, keep only "direct" and "flex"definitions.
- minix/types.h: include <minix/ansi.h>

- sys/Makefile: add sys/dirent.h and statfs.h (forgot!)
- minix/Makefile: add minix/dirent.h

   nbsd_include/minix-port.patch updated accordingly.
2011-03-04 23:15:48 +00:00
..
ansi.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
asm.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
bswap.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
byte_swap.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
cdefs.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
disklabel.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
endian.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
endian_machdep.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
fenv.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
float.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ieee.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
ieeefp.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
int_const.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
int_fmtio.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
int_limits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
int_mwgwtypes.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
int_types.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
limits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
Makefile Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
math.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
mcontext.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
npx.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
param.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
profile.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
setjmp.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
signal.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
stdarg.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
types.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
vmparam.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
wchar_limits.h Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00