The inttypes.h file is now standard, use it where appropriate.
authorppisa <ppisa>
Wed, 30 Jan 2008 02:38:46 +0000 (02:38 +0000)
committerppisa <ppisa>
Wed, 30 Jan 2008 02:38:46 +0000 (02:38 +0000)
It is important to include inttypes.h before any Linux/IOCTL
related headers, because there is int64_t type conflict on
some AMD64 Debian versions.

lincan/include/can.h
lincan/include/canmsg.h

index b3b265c..8ff57ea 100644 (file)
@@ -18,6 +18,7 @@
 
 #else /* __KERNEL__ */
 
+#include <inttypes.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
index 779f68c..0738fc9 100644 (file)
@@ -16,6 +16,7 @@
 
 #else /* __KERNEL__ */
 
+#include <inttypes.h>
 #include <sys/time.h>
 #include <sys/types.h>