require '_h2ph_pre.ph';

unless(defined(&PROT_NONE)) {
    sub PROT_NONE () {	0x00;}
}
unless(defined(&PROT_READ)) {
    sub PROT_READ () {	0x01;}
}
unless(defined(&PROT_WRITE)) {
    sub PROT_WRITE () {	0x02;}
}
unless(defined(&PROT_EXEC)) {
    sub PROT_EXEC () {	0x04;}
}
unless(defined(&MAP_SHARED)) {
    sub MAP_SHARED () {	0x0001;}
}
unless(defined(&MAP_PRIVATE)) {
    sub MAP_PRIVATE () {	0x0002;}
}
unless(defined(&MAP_COPY)) {
    sub MAP_COPY () {	0x0004;}
}
unless(defined(&MAP_FIXED)) {
    sub MAP_FIXED () {	0x0010;}
}
unless(defined(&MAP_RENAME)) {
    sub MAP_RENAME () {	0x0020;}
}
unless(defined(&MAP_NORESERVE)) {
    sub MAP_NORESERVE () {	0x0040;}
}
unless(defined(&MAP_INHERIT)) {
    sub MAP_INHERIT () {	0x0080;}
}
unless(defined(&MAP_NOEXTEND)) {
    sub MAP_NOEXTEND () {	0x0100;}
}
unless(defined(&MAP_HASSEMAPHORE)) {
    sub MAP_HASSEMAPHORE () {	0x0200;}
}
unless(defined(&MAP_FAILED)) {
    sub MAP_FAILED () {	(( &void *)-1);}
}
unless(defined(&MAP_FILE)) {
    sub MAP_FILE () {	0x0000;}
}
unless(defined(&MAP_ANON)) {
    sub MAP_ANON () {	0x1000;}
}
unless(defined(&MADV_NORMAL)) {
    sub MADV_NORMAL () {	0;}
}
unless(defined(&MADV_RANDOM)) {
    sub MADV_RANDOM () {	1;}
}
unless(defined(&MADV_SEQUENTIAL)) {
    sub MADV_SEQUENTIAL () {	2;}
}
unless(defined(&MADV_WILLNEED)) {
    sub MADV_WILLNEED () {	3;}
}
unless(defined(&MADV_DONTNEED)) {
    sub MADV_DONTNEED () {	4;}
}
unless(defined(&MS_ASYNC)) {
    sub MS_ASYNC () {	0x01;}
}
unless(defined(&MS_SYNC)) {
    sub MS_SYNC () {	0x02;}
}
unless(defined(&MS_INVALIDATE)) {
    sub MS_INVALIDATE () {	0x04;}
}
unless(defined(&MCL_CURRENT)) {
    sub MCL_CURRENT () {	0x01;}
}
unless(defined(&MCL_FUTURE)) {
    sub MCL_FUTURE () {	0x02;}
}
unless(defined(&_KERNEL)) {
    require 'sys/cdefs.ph';
}
1;
