[PATCH] Compile fix on Linux 2.6.28 / x86

Pavel Troller patrol at sinus.cz
Sat Jan 3 13:36:07 CST 2009


Hi!
  Due to changes in Linux kernel include file structure, the following patch
is necessary to compile wine with the 2.6.28 kernel:

--- wine/dlls/ntdll/serial.c.old	2009-01-03 19:31:17.000000000 +0100
+++ wine/dlls/ntdll/serial.c	2009-01-03 20:31:11.000000000 +0100
@@ -74,6 +74,10 @@
 #include "wine/debug.h"
 
 #ifdef HAVE_LINUX_SERIAL_H
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
+#include <asm/types.h>
+#endif
 #include <linux/serial.h>
 #endif

  With regards, Pavel Troller



More information about the wine-devel mailing list