]> Zhao Yanbai Git Server - minix.git/commitdiff
Make rlogin compile under non-minix-vmd with SIGWINCH defined
authorBen Gras <ben@minix3.org>
Mon, 3 Oct 2005 12:02:43 +0000 (12:02 +0000)
committerBen Gras <ben@minix3.org>
Mon, 3 Oct 2005 12:02:43 +0000 (12:02 +0000)
commands/simple/rlogin.c

index 96730a3a4a75554775d2b8b49bbad6b8c609f830..af18abb699e08a8f1e2b39e0c9348ed496282526 100755 (executable)
@@ -713,6 +713,7 @@ stop(cmdc)
 }
 #endif
 
+#if __minix_vmd
 #ifdef SIGWINCH
 static void
 sigwinch(sig)
@@ -762,6 +763,7 @@ sendwindow()
        wp->ws_ypixel = htons(winsize.ws_ypixel);
 }
 #endif /* SIGWINCH */
+#endif
 
 #if !__minix_vmd
 /*