summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--isys/isys.c1
-rw-r--r--isys/net.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9636aa543..fbc2e10b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-05-01 Jeremy Katz <katzj@redhat.com>
+ * isys/net.h: Include <linux/types.h> for ethtool.h
+ * isys/isys.c: Hack to fix compile error with new kernel headers
+
+2006-05-01 Jeremy Katz <katzj@redhat.com>
+
* anaconda.spec: Bump version.
* bootloader.py: Clean up imports
diff --git a/isys/isys.c b/isys/isys.c
index 50a892719..a25d39b05 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <dirent.h>
#include <errno.h>
+#define u32 __u32
#include <linux/ext2_fs.h>
#include <linux/ext3_fs.h>
#include <ext2fs/ext2fs.h>
diff --git a/isys/net.h b/isys/net.h
index 96029825f..5d93c14aa 100644
--- a/isys/net.h
+++ b/isys/net.h
@@ -1,6 +1,7 @@
#ifndef ISYSNET_H
#define ISYSNET_H
+#include <linux/types.h>
#include <linux/ethtool.h>
/* type definitions so that the kernel-ish includes can be shared */