summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-13 10:55:37 (GMT)
committerWolfgang Denk <wd@denx.de>2009-07-19 19:34:45 (GMT)
commit60a3f404acbf8238a3138fe1f80a6bac75da4582 (patch)
tree1d0347c5a9165fc891cbbfad98398458aedee8ab
parent7640f41988a456a0b1f05263d2e2dc5cd7d93984 (diff)
downloadu-boot-fsl-qoriq-60a3f404acbf8238a3138fe1f80a6bac75da4582.tar.xz
malloc.h: protect it against multiple include
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--include/malloc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 47154b0..a38464e 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -216,7 +216,8 @@
*/
-
+#ifndef __MALLOC_H__
+#define __MALLOC_H__
/* Preliminaries */
@@ -940,3 +941,5 @@ struct mallinfo mALLINFo();
#ifdef __cplusplus
}; /* end of extern "C" */
#endif
+
+#endif /* __MALLOC_H__ */