Integer-Typen in ecrt.h.
authorFlorian Pose <fp@igh-essen.com>
Mon, 20 Mar 2006 08:36:08 +0000
changeset 110 2346e2963087
parent 109 c6766baead5e
child 111 9963537ec776
Integer-Typen in ecrt.h.
include/ecrt.h
--- a/include/ecrt.h	Mon Mar 20 08:24:12 2006 +0000
+++ b/include/ecrt.h	Mon Mar 20 08:36:08 2006 +0000
@@ -11,6 +11,12 @@
 
 #include <asm/byteorder.h>
 
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
+#include <stdint.h>
+#endif
+
 /*****************************************************************************/
 
 struct ec_master;