]> andersk Git - openssh.git/blobdiff - scp.c
- Several patches from SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
[openssh.git] / scp.c
diff --git a/scp.c b/scp.c
index df6a691e4f2e6381393be3b1684e630ef1d8fcff..7a85f900005e9c22e3718902f479aa60707c91a5 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -1235,7 +1235,9 @@ progressmeter(int flag)
                struct sigaction sa;
                sa.sa_handler = updateprogressmeter;
                sigemptyset(&sa.sa_mask);
+#ifdef SA_RESTART
                sa.sa_flags = SA_RESTART;
+#endif
                sigaction(SIGALRM, &sa, NULL);
                alarmtimer(1);
        } else if (flag == 1) {
This page took 0.031694 seconds and 4 git commands to generate.