changeset 60:0211417ee532

* linux types declaration
author "Mat <MatLinuxer2@gmail.com>"
date Mon, 11 Aug 2008 14:46:10 +0800
parents 1ca417f741f1
children db5f203d7c19
files src/mb_timer.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mb_timer.h	Sun Aug 10 21:32:42 2008 +0800
+++ b/src/mb_timer.h	Mon Aug 11 14:46:10 2008 +0800
@@ -3,6 +3,10 @@
 
 #include <sys/time.h>
 
+#ifdef __linux__
+#include <linux/types.h>
+#endif
+
 typedef uint32_t mbsec_t;
 typedef uint32_t mbusec_t;
 typedef struct _mb_timer mb_timer_t;