From bab4c96c5c9be8f35dfc7556157e98827129f2fc Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 11 Jun 2014 11:42:41 +0200 Subject: [PATCH] Fix build problems of makeudfimage with gcc4. * _ALLOCATOR_H clashes with a std-include provided by gcc. * add using declaration for std::list. --- src/bin/makeudfimage/Allocator.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/makeudfimage/Allocator.h b/src/bin/makeudfimage/Allocator.h index ec58bacf90..1704613a49 100644 --- a/src/bin/makeudfimage/Allocator.h +++ b/src/bin/makeudfimage/Allocator.h @@ -10,10 +10,11 @@ Physical block allocator class declarations. */ -#ifndef _ALLOCATOR_H -#define _ALLOCATOR_H +#ifndef _UDF_ALLOCATOR_H +#define _UDF_ALLOCATOR_H #include +using std::list; #include "UdfStructures.h" @@ -49,4 +50,4 @@ private: status_t fInitStatus; }; -#endif // _ALLOCATOR_H +#endif // _UDF_ALLOCATOR_H