mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [RFC PATCH 2/3] include/tlsf.h: adapt for barebox
Date: Thu, 15 Sep 2011 02:03:51 +0400	[thread overview]
Message-ID: <1316037832-3536-2-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1316037832-3536-1-git-send-email-antonynpavlov@gmail.com>

Signed-off-by: Antony Pavlov <antonynpavlov@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-09-14 22:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 22:03 [RFC PATCH 1/3] add tlsf memory allocator Antony Pavlov
2011-09-14 22:03 ` Antony Pavlov [this message]
2011-09-14 22:03 ` [RFC PATCH 3/3] add tlsf-based malloc implementation Antony Pavlov
2011-09-19  8:56 ` [RFC PATCH 1/3] add tlsf memory allocator Sascha Hauer
     [not found]   ` <CAA4bVAFdJoDbAUGqiYLvRUJnpdMpHsC1FgZD7vgxeC2zy4EhUQ@mail.gmail.com>
2011-09-20  7:35     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316037832-3536-2-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox