diff --git a/dll/shellext/ntobjshex/ntobjenum.h b/dll/shellext/ntobjshex/ntobjenum.h index 51937df1b57..253c483c12e 100644 --- a/dll/shellext/ntobjshex/ntobjenum.h +++ b/dll/shellext/ntobjshex/ntobjenum.h @@ -15,12 +15,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#pragma once -extern "C" { -#define NTOS_MODE_USER -#include -#include -} // All the possible values are defined here because I want the type field to be // "persistable" and not change if more types are added in the future. diff --git a/dll/shellext/ntobjshex/precomp.h b/dll/shellext/ntobjshex/precomp.h index 55a055723e2..d221a8c671b 100644 --- a/dll/shellext/ntobjshex/precomp.h +++ b/dll/shellext/ntobjshex/precomp.h @@ -10,6 +10,12 @@ #define COM_NO_WINDOWS_H #define NTOS_MODE_USER +extern "C" +{ +#include +#include +} + #include #include #include