@@ -18,6 +18,8 @@
extern C {
#endif
+#include <odp/drv/std_types.h>
+
#ifdef __cplusplus
}
#endif
new file mode 100644
@@ -0,0 +1,42 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * Standard C language types and definitions for ODP driver interface.
+ */
+
+#ifndef ODPDRV_PLAT_STD_TYPES_H_
+#define ODPDRV_PLAT_STD_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stddef.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <inttypes.h>
+#include <limits.h>
+
+/** @addtogroup odpdrv_system ODPDRV SYSTEM
+ * @{
+ */
+
+typedef int odpdrv_bool_t;
+
+/**
+ * @}
+ */
+
+#include <odp/drv/std_types.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- include/odp_drv.h | 2 ++ platform/linux-generic/include/odp/drv/std_types.h | 42 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/std_types.h