minix/nbsd_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
..
arch Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
arpa Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
heimdal Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
minix Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
net Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
netinet Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
netinet6 Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
protocols Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rpc Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
rpcsvc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ssp Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sys Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
a.out.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
aio.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
assert.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
atomic.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
bitstring.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
bm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdbr.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdbw.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
complex.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cpio.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ctype.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
db.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
dirent.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
disktab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
dlfcn.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
err.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
errno.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fenv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fmtmsg.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fnmatch.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fstab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
fts.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
ftw.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
getopt.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
glob.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
grp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
hesiod.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iconv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ieeefp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ifaddrs.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
inttypes.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iso646.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
kvm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
langinfo.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
libgen.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
limits.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
link.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
link_aout.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
link_elf.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
locale.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
login_cap.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
lwp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
Makefile Add NBSD-like Minix system includes. 2011-02-21 13:13:55 +00:00
malloc.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
math.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
md2.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
memory.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
minix-port.patch Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
mntopts.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
monetary.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
mpool.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
mqueue.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ndbm.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
netconfig.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
netdb.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
netgroup.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nl_types.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nlist.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
nsswitch.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
paths.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
pwd.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
randomid.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ranlib.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
re_comp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regex.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regexp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
res_update.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
resolv.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
rmt.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sa.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sched.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
search.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
semaphore.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
setjmp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sgtty.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
signal.h Clean up NetBSD includes Minix port. 2011-02-15 20:16:12 +00:00
stab.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stdbool.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stddef.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stdio.h This patch modifies the NetBSD basic includes to be Minix 2011-02-15 12:03:42 +00:00
stdlib.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
string.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
stringlist.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
strings.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
struct.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sysexits.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tgmath.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
time.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
ttyent.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
tzfile.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ucontext.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ulimit.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
unistd.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
util.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
utime.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
utmp.h Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
utmpx.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
uuid.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
varargs.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
vis.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wchar.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wctype.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
wordexp.h Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00