Fix build problems of makeudfimage with gcc4.

* _ALLOCATOR_H clashes with a std-include provided by gcc.
* add using declaration for std::list.
This commit is contained in:
Oliver Tappe
2014-06-11 11:42:41 +02:00
parent 006637a9b6
commit bab4c96c5c
+4 -3
View File
@@ -10,10 +10,11 @@
Physical block allocator class declarations.
*/
#ifndef _ALLOCATOR_H
#define _ALLOCATOR_H
#ifndef _UDF_ALLOCATOR_H
#define _UDF_ALLOCATOR_H
#include <list>
using std::list;
#include "UdfStructures.h"
@@ -49,4 +50,4 @@ private:
status_t fInitStatus;
};
#endif // _ALLOCATOR_H
#endif // _UDF_ALLOCATOR_H