require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_RUMP_RUMPCLIENT_H_)) {
    eval 'sub _RUMP_RUMPCLIENT_H_ () {1;}' unless defined(&_RUMP_RUMPCLIENT_H_);
    require 'sys/types.ph';
    if(!defined(&__returns_twice)) {
	if(defined(&__GNUC__)) {
	    eval 'sub __returns_twice () { &__attribute__(( &__returns_twice__));}' unless defined(&__returns_twice);
	} else {
	    eval 'sub __returns_twice () {1;}' unless defined(&__returns_twice);
	}
    }
    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)) {
	}
    }
    eval 'sub rumpclient_vfork () {
        eval q( &rumpclient__dofork( &vfork));
    }' unless defined(&rumpclient_vfork);
    if(defined(&__BEGIN_DECLS)) {
    }
 elsif(defined(&__cplusplus)) {
    }
    eval 'sub RUMPCLIENT_RETRYCONN_INFTIME () {(( &time_t)-1);}' unless defined(&RUMPCLIENT_RETRYCONN_INFTIME);
    eval 'sub RUMPCLIENT_RETRYCONN_ONCE () {(( &time_t)-2);}' unless defined(&RUMPCLIENT_RETRYCONN_ONCE);
    eval 'sub RUMPCLIENT_RETRYCONN_DIE () {(( &time_t)-3);}' unless defined(&RUMPCLIENT_RETRYCONN_DIE);
    eval("sub RUMPCLIENT_CLOSE_CLOSE () { 0; }") unless defined(&RUMPCLIENT_CLOSE_CLOSE);
    eval("sub RUMPCLIENT_CLOSE_DUP2 () { 1; }") unless defined(&RUMPCLIENT_CLOSE_DUP2);
    eval("sub RUMPCLIENT_CLOSE_FCLOSEM () { 2; }") unless defined(&RUMPCLIENT_CLOSE_FCLOSEM);
    if(defined(&__END_DECLS)) {
    }
 elsif(defined(&__cplusplus)) {
    }
}
1;
