fix include stdint.h in kernel mode
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7131 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -35,7 +35,11 @@
|
||||
#ifndef _ITTI_TYPES_H_
|
||||
#define _ITTI_TYPES_H_
|
||||
|
||||
#ifdef USER_MODE
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <linux/types.h>
|
||||
#endif
|
||||
|
||||
#define CHARS_TO_UINT32(c1, c2, c3, c4) (((c4) << 24) | ((c3) << 16) | ((c2) << 8) | (c1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user