Репозитории ALT
S: | 1.2.1-alt1 |
5.1: | 1.1.35-alt2 |
4.1: | 1.1.35-alt1 |
4.0: | 1.1.31-alt1.1 |
3.0: | 1.1.31-alt1 |
Группа :: Коммуникации
Пакет: mgetty
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mgetty-alt-warnings.patch
Скачать
Скачать
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