Commit 270e07c8 authored by thomasl's avatar thomasl

fix include stdint.h in kernel mode



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7131 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 83801be2
...@@ -35,7 +35,11 @@ ...@@ -35,7 +35,11 @@
#ifndef _ITTI_TYPES_H_ #ifndef _ITTI_TYPES_H_
#define _ITTI_TYPES_H_ #define _ITTI_TYPES_H_
#ifdef USER_MODE
#include <stdint.h> #include <stdint.h>
#else
#include <linux/types.h>
#endif
#define CHARS_TO_UINT32(c1, c2, c3, c4) (((c4) << 24) | ((c3) << 16) | ((c2) << 8) | (c1)) #define CHARS_TO_UINT32(c1, c2, c3, c4) (((c4) << 24) | ((c3) << 16) | ((c2) << 8) | (c1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment