[RFC PATCH 2/3] include/tlsf.h: adapt for barebox
Antony Pavlov
antonynpavlov at gmail.com
Wed Sep 14 18:03:51 EDT 2011
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
include/tlsf.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/tlsf.h b/include/tlsf.h
index 29ffb7f..0b31b21 100644
--- a/include/tlsf.h
+++ b/include/tlsf.h
@@ -19,7 +19,11 @@
#ifndef _TLSF_H_
#define _TLSF_H_
+#ifdef __BAREBOX__
+#include <types.h>
+#else
#include <sys/types.h>
+#endif
extern size_t init_memory_pool(size_t, void *);
extern size_t get_used_size(void *);
--
1.7.5.4
More information about the barebox
mailing list