Use SA_RESTART on NetBSD. -- Yorick Hardy --- dlls/ntdll/signal_i386.c Sat May 17 10:00:47 2003 +++ dlls/ntdll/signal_i386.c Sat May 24 14:30:13 2003 @@ -1155,7 +1155,7 @@ sigaddset( &sig_act.sa_mask, SIGUSR2 ); sigaddset( &sig_act.sa_mask, SIGALRM ); -#ifdef linux +#if defined(linux) || defined(__NetBSD__) sig_act.sa_flags = SA_RESTART; #elif defined (__svr4__) || defined(_SCO_DS) sig_act.sa_flags = SA_SIGINFO | SA_RESTART;