Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042865
en ru br
ALT Linux repos
S:1.2.1-alt1
5.0: 1.1.35-alt1.1
4.1: 1.1.35-alt1
4.0: 1.1.31-alt1.1
3.0: 1.1.31-alt1

Group :: Communications
RPM: mgetty

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mgetty-alt-warnings.patch
Download


diff --git a/mgetty/frontends/X11/viewfax/viewfax.c b/mgetty/frontends/X11/viewfax/viewfax.c
index 204b80b..5771b4d 100644
--- a/mgetty/frontends/X11/viewfax/viewfax.c
+++ b/mgetty/frontends/X11/viewfax/viewfax.c
@@ -451,6 +451,8 @@ usleep(unsigned usecs)
     (void) select(1, NULL, NULL, NULL, &t);
     return 0;
 }
+#else
+#include <unistd.h>
 #endif
 
 #ifndef REAL_ROOT
diff --git a/mgetty/tools/microcom.c b/mgetty/tools/microcom.c
index 5f59a95..c33fccd 100644
--- a/mgetty/tools/microcom.c
+++ b/mgetty/tools/microcom.c
@@ -7,6 +7,7 @@
  * Calls routines in io.c, tio.c
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <stdlib.h>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin