]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
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 b3b265ce141c7eb96e47a4e56cafe06c73346ccc..8ff57ea558fcb1461eec9df2b6017fe7d503176c 100644 (file)
@@ -18,6 +18,7 @@
 
 #else /* __KERNEL__ */
 
 
 #else /* __KERNEL__ */
 
+#include <inttypes.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
index 779f68c52c3fc23026cba058d1919084f3d3c63e..0738fc9bdc4adbfcc1ecbf999529500c6c7d8b6b 100644 (file)
@@ -16,6 +16,7 @@
 
 #else /* __KERNEL__ */
 
 
 #else /* __KERNEL__ */
 
+#include <inttypes.h>
 #include <sys/time.h>
 #include <sys/types.h>
 
 #include <sys/time.h>
 #include <sys/types.h>