comparison src/mb_timer.h @ 60:0211417ee532

* linux types declaration
author "Mat <MatLinuxer2@gmail.com>"
date Mon, 11 Aug 2008 14:46:10 +0800
parents 46b77c92d118
children db5f203d7c19
comparison
equal deleted inserted replaced
58:1ca417f741f1 60:0211417ee532
1 #ifndef __MB_TIMER_H_ 1 #ifndef __MB_TIMER_H_
2 #define __MB_TIMER_H_ 2 #define __MB_TIMER_H_
3 3
4 #include <sys/time.h> 4 #include <sys/time.h>
5
6 #ifdef __linux__
7 #include <linux/types.h>
8 #endif
5 9
6 typedef uint32_t mbsec_t; 10 typedef uint32_t mbsec_t;
7 typedef uint32_t mbusec_t; 11 typedef uint32_t mbusec_t;
8 typedef struct _mb_timer mb_timer_t; 12 typedef struct _mb_timer mb_timer_t;
9 typedef struct _mb_tman mb_tman_t; 13 typedef struct _mb_tman mb_tman_t;