require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_RUMP_RUMP_H_)) {
    eval 'sub _RUMP_RUMP_H_ () {1;}' unless defined(&_RUMP_RUMP_H_);
    if(!defined(&RUMP_REGISTER_T)) {
	eval 'sub RUMP_REGISTER_T () {\'long\';}' unless defined(&RUMP_REGISTER_T);
	if(!defined(&_KERNEL)  && !defined(&_KMEMUSER)  && !defined(&_KERNTYPES)  && !defined(&_STANDALONE)) {
	}
    }
    require 'rump/rumpdefs.ph';
    eval("sub RUMPUIO_READ () { 0; }") unless defined(&RUMPUIO_READ);
    eval("sub RUMPUIO_WRITE () { 1; }") unless defined(&RUMPUIO_WRITE);
    eval("sub RUMP_SIGMODEL_PANIC () { 0; }") unless defined(&RUMP_SIGMODEL_PANIC);
    eval("sub RUMP_SIGMODEL_IGNORE () { 1; }") unless defined(&RUMP_SIGMODEL_IGNORE);
    eval("sub RUMP_SIGMODEL__HOST_NOTANYMORE () { 2; }") unless defined(&RUMP_SIGMODEL__HOST_NOTANYMORE);
    eval("sub RUMP_SIGMODEL_RAISE () { 3; }") unless defined(&RUMP_SIGMODEL_RAISE);
    eval("sub RUMP_SIGMODEL_RECORD () { 4; }") unless defined(&RUMP_SIGMODEL_RECORD);
    eval 'sub RUMP_RFFDG () {0x1;}' unless defined(&RUMP_RFFDG);
    eval 'sub RUMP_RFCFDG () {0x2;}' unless defined(&RUMP_RFCFDG);
    eval 'sub RUMP_RFFD_SHARE () {0x;}' unless defined(&RUMP_RFFD_SHARE);
    eval 'sub RUMP_RFFD_COPY () { &RUMP_RFFDG;}' unless defined(&RUMP_RFFD_COPY);
    eval 'sub RUMP_RFFD_CLEAR () { &RUMP_RFCFDG;}' unless defined(&RUMP_RFFD_CLEAR);
    eval 'sub RUMPCN_FREECRED () {0x2;}' unless defined(&RUMPCN_FREECRED);
    eval 'sub RUMP_ETFS_SIZE_ENDOFF () {(( &uint64_t)-1);}' unless defined(&RUMP_ETFS_SIZE_ENDOFF);
    eval("sub RUMP_ETFS_REG () { 0; }") unless defined(&RUMP_ETFS_REG);
    eval("sub RUMP_ETFS_BLK () { 1; }") unless defined(&RUMP_ETFS_BLK);
    eval("sub RUMP_ETFS_CHR () { 2; }") unless defined(&RUMP_ETFS_CHR);
    eval("sub RUMP_ETFS_DIR () { 3; }") unless defined(&RUMP_ETFS_DIR);
    eval("sub RUMP_ETFS_DIR_SUBDIRS () { 4; }") unless defined(&RUMP_ETFS_DIR_SUBDIRS);
    if(defined(&__cplusplus)) {
    }
    eval 'sub RUMP_DAEMONIZE_SUCCESS () {0;}' unless defined(&RUMP_DAEMONIZE_SUCCESS);
    unless(defined(&_KERNEL)) {
	require 'rump/rumpkern_if_pub.ph';
	require 'rump/rumpvfs_if_pub.ph';
	require 'rump/rumpnet_if_pub.ph';
    }
    if(defined(&__cplusplus)) {
    }
}
1;
