[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/klaptopdaemon
From:       Adrian Schroeter <adrian () suse ! de>
Date:       2003-10-05 16:35:52
[Download RAW message or body]

CVS commit by adrian: 

fix build for s390, ia64 and other architectures where __u32 != "unsigned long" 


  M +1 -4      portable.cpp   1.80
  M +1 -1      thinkpad_common.h   1.2


--- kdeutils/klaptopdaemon/portable.cpp  #1.79:1.80
@@ -98,7 +98,4 @@
 
 // ibm specific stuff
-typedef unsigned char __u8;
-typedef unsigned short __u16;
-typedef unsigned long __u32;
 extern "C"{
 #include "thinkpad_common.h"

--- kdeutils/klaptopdaemon/thinkpad_common.h  #1.1:1.2
@@ -65,5 +65,5 @@
 
 /****** types ******/
-
+#include <asm/types.h>
 typedef __u8 byte;
 typedef __u16 word;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic