Репозитории ALT
S: | 0.4b47-alt1 |
5.1: | 0.4b42-alt1 |
4.1: | 0.4b41-alt2 |
4.0: | 0.4b41-alt1.0 |
3.0: | 0.4b35-alt1 |
Группа :: Архивирование/Резервное копирование
Пакет: dump
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: dump-0.4b40-include.patch
Скачать
Скачать
In the current ALT Linux (Sisyphus, actually) environment including
of <linux/fs.h> leads to "#error Invalid kernel header included in userspace".
So we better include other, non-kernel header with the same definition.
--- dump-0.4b40/dump/main.c.orig 2004-07-05 18:12:45 +0300
+++ dump-0.4b40/dump/main.c 2005-10-21 12:58:23 +0300
@@ -67,7 +67,7 @@
#include <ext2fs/ext2fs.h>
#include <sys/stat.h>
#include <bsdcompat.h>
-#include <linux/fs.h> /* for definition of BLKFLSBUF */
+#include <sys/mount.h> /* for definition of BLKFLSBUF */
#elif defined sunos
#include <sys/vnode.h>