*** thttpd-2.23beta1/thttpd.c Sun May 26 05:43:13 2002 --- thttpd-2.23beta1-ft/thttpd.c Sat Jul 6 22:20:30 2002 *************** *** 187,192 **** --- 187,195 ---- { FILE* logfp; + #ifndef HAVE_SIGSET + signal(SIGHUP,handle_hup); + #endif if ( no_log || hs == (httpd_server*) 0 ) return; *************** *** 229,234 **** --- 232,240 ---- static void handle_usr2( int sig ) { + #ifndef HAVE_SIGSET + signal(SIGUSR2,handle_usr2); + #endif logstats( (struct timeval*) 0 ); }