summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-05-02 02:27:56 +0000
committerJeremy Katz <katzj@redhat.com>2006-05-02 02:27:56 +0000
commit3e2a1d0a215f2b07a8bbc9489d84a98b7b01ba03 (patch)
tree41a1651f3e00238f2ce9a7959d876618cdab105b /isys
parentaf7891d2f41b2123a1e2f32fc8db2d2982216c8c (diff)
downloadanaconda-3e2a1d0a215f2b07a8bbc9489d84a98b7b01ba03.tar.gz
anaconda-3e2a1d0a215f2b07a8bbc9489d84a98b7b01ba03.tar.xz
anaconda-3e2a1d0a215f2b07a8bbc9489d84a98b7b01ba03.zip
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
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c1
-rw-r--r--isys/net.h1
2 files changed, 2 insertions, 0 deletions
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 */