ALT Linux repos
Group :: Communications
RPM: mgetty
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: mgetty-alt-warnings.patch
Download
Download
diff --git a/mgetty/tools/microcom.c b/mgetty/tools/microcom.c
index 38d35bd..bf8bf37 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 <string.h>
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