summaryrefslogtreecommitdiff
path: root/sysutils/x86info/files/patch-x86info.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/x86info/files/patch-x86info.h')
-rw-r--r--sysutils/x86info/files/patch-x86info.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/x86info/files/patch-x86info.h b/sysutils/x86info/files/patch-x86info.h
new file mode 100644
index 000000000000..96c8c7281f0f
--- /dev/null
+++ b/sysutils/x86info/files/patch-x86info.h
@@ -0,0 +1,16 @@
+diff -urNb x86info.h x86info.h
+--- x86info.h.orig Thu Jul 26 14:40:46 2001
++++ x86info.h Sun Aug 26 23:12:33 2001
+@@ -3,7 +3,12 @@
+ * May be used under the terms of the GNU Public License (GPL)
+ */
+
++#ifdef linux
+ #include <linux/types.h>
++#else
++#include <machine/types.h>
++#define __u32 int
++#endif
+
+ typedef __u32 u32;
+