diff --git a/reactos/base/shell/explorer/utility/xmlstorage.h b/reactos/base/shell/explorer/utility/xmlstorage.h index 0d224c9e3aa..97516d88323 100644 --- a/reactos/base/shell/explorer/utility/xmlstorage.h +++ b/reactos/base/shell/explorer/utility/xmlstorage.h @@ -714,7 +714,7 @@ struct XMLNode : public XS_String return super::find(x); } - XS_String get(const char* x, LPXSSTR def=XS_EMPTY_STR) const + XS_String get(const char* x, LPCXSSTR def=XS_EMPTY_STR) const { const_iterator found = find(x); @@ -728,7 +728,7 @@ struct XMLNode : public XS_String /// map of XML node attributes struct AttributeMap : public std::map { - XS_String get(const char* x, LPXSSTR def=XS_EMPTY_STR) const + XS_String get(const char* x, LPCXSSTR def=XS_EMPTY_STR) const { const_iterator found = find(x); @@ -848,7 +848,7 @@ struct XMLNode : public XS_String } /// read only access to an attribute - template XS_String get(const T& attr_name, LPXSSTR def=XS_EMPTY_STR) const + template XS_String get(const T& attr_name, LPCXSSTR def=XS_EMPTY_STR) const { AttributeMap::const_iterator found = _attributes.find(attr_name); diff --git a/reactos/tools/pefixup.c b/reactos/tools/pefixup.c index 9e0c125156a..e46b422803d 100644 --- a/reactos/tools/pefixup.c +++ b/reactos/tools/pefixup.c @@ -24,6 +24,9 @@ #include #include #include +#ifndef _WIN32 +#include +#endif #ifndef O_BINARY #define O_BINARY 0