summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-02 21:49:15 +0000
committerErik Troan <ewt@redhat.com>2000-06-02 21:49:15 +0000
commit592fe19c20af0191264143283c2d5899b9c4ee9f (patch)
tree58a2171c7a9bf66e9dc63c21fa429e13439b07df /loader/init.c
parent20e2c29550a83b7c4f75bb10dea9bd9a4d1bdf75 (diff)
downloadanaconda-592fe19c20af0191264143283c2d5899b9c4ee9f.tar.gz
anaconda-592fe19c20af0191264143283c2d5899b9c4ee9f.tar.xz
anaconda-592fe19c20af0191264143283c2d5899b9c4ee9f.zip
added loopback inclusions
Diffstat (limited to 'loader/init.c')
-rw-r--r--loader/init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/loader/init.c b/loader/init.c
index 08107b42e..4a0b96eaa 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -41,6 +41,17 @@
#include <sys/reboot.h>
#include <termios.h>
+/* Need to tell loop.h what the actual dev_t type is. */
+#undef dev_t
+#if defined(__alpha) || (defined(__sparc__) && defined(__arch64__))
+#define dev_t unsigned int
+#else
+#define dev_t unsigned short
+#endif
+#include <linux/loop.h>
+#undef dev_t
+#define dev_t dev_t
+
#define syslog klogctl
#endif