require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_USER_SIGNAL_H)) {
    eval 'sub _USER_SIGNAL_H () {1;}' unless defined(&_USER_SIGNAL_H);
    require 'sys/cdefs.ph';
    require 'sys/signal.ph';
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef) || (defined(&__POSIX_VISIBLE) ? &__POSIX_VISIBLE : undef) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : undef)) {
	require 'sys/types.ph';
    }
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef)) {
    }
    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef) || (defined(&__POSIX_VISIBLE) ? &__POSIX_VISIBLE : undef) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : undef)) {
	if(defined( &__GNUC__)) {
	    if(defined( &__GNUC_STDC_INLINE__)) {
		eval 'sub __SIGNAL_INLINE () { &extern  &__inline  &__attribute(( &__gnu_inline__));}' unless defined(&__SIGNAL_INLINE);
	    } else {
		eval 'sub __SIGNAL_INLINE () { &extern  &__inline;}' unless defined(&__SIGNAL_INLINE);
	    }
	}
	eval 'sub sigemptyset {
	    my($set) = @_;
    	    eval q((*($set) = 0, 0));
	}' unless defined(&sigemptyset);
	eval 'sub sigfillset {
	    my($set) = @_;
    	    eval q((*($set) = ~( &sigset_t)0, 0));
	}' unless defined(&sigfillset);
	if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef) || (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : undef) >= 420) {
	    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef)) {
	    }
	    if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : undef) || (defined(&__POSIX_VISIBLE) ? &__POSIX_VISIBLE : undef) >= 199309|| (defined(&__XPG_VISIBLE) ? &__XPG_VISIBLE : undef) >= 500) {
	    }
	}
    }
}
1;
