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:
thomasl
2015-04-10 16:10:23 +00:00
parent 83801be23d
commit 270e07c830
+4
View File
@@ -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))