Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
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
benchmarks Fixed unixbench Run script 2010-10-25 08:32:14 +00:00
boot csu/build support for ELF 2010-12-10 22:20:12 +00:00
commands don't define CHIP at all any more, just use the namespace-trained name 2011-02-26 10:28:48 +00:00
common Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
docs Update docs/UPDATING 2011-02-26 23:01:27 +00:00
drivers ramdisk: Add procfs to ramdisk 2011-02-23 13:05:28 +00:00
etc add /usr/include/ddekit dirs 2011-02-25 15:42:53 +00:00
include Move even more includes to common/include. 2011-03-03 16:39:02 +00:00
kernel VM and kernel support for ELF 2011-02-26 23:00:55 +00:00
lib Sync NBSD libc errno.h with minix errno.h 2011-03-04 22:37:43 +00:00
man remove fsck1 altogether 2010-12-21 11:00:13 +00:00
nbsd_include Various fixes for NBSD include. 2011-03-04 23:15:48 +00:00
servers auto-tune mfs cache size based on FS usage and remaining system memory 2011-02-28 14:19:19 +00:00
share mk scripts: add flag for compiling with nbsd libc. 2011-03-03 16:41:19 +00:00
test Allow for overriding GCC var in test Makefile 2010-11-19 10:33:26 +00:00
tools add NOASSERTS make flag that disables assert()s (NDEBUG=1). 2011-02-16 18:58:30 +00:00
.gitignore revert r8783, as those entries are auto-generated now 2010-11-17 14:29:32 +00:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile add clean clang libraries target 2011-02-21 16:07:22 +00:00