diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-03-13 18:30:58 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-03-13 18:30:58 +0300 |
commit | ecb7347d330235e293cce503ca05723e069dc739 (patch) | |
tree | e4fc0aab1e0de36796d2a25921865fa36b8571b6 /shell_integration | |
parent | 4d690710d2e54791aaf90bfdd50c85966aebe49d (diff) |
2.7 has less automatic includes on Windows
Diffstat (limited to 'shell_integration')
-rw-r--r-- | shell_integration/windows/OCOverlays/OCOverlayFactory.h | 6 | ||||
-rw-r--r-- | shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/shell_integration/windows/OCOverlays/OCOverlayFactory.h b/shell_integration/windows/OCOverlays/OCOverlayFactory.h index 364baa2c7..49d859d0b 100644 --- a/shell_integration/windows/OCOverlays/OCOverlayFactory.h +++ b/shell_integration/windows/OCOverlays/OCOverlayFactory.h @@ -12,11 +12,10 @@ * details. */ -#ifndef OCOVERLAYFACTORY_H -#define OCOVERLAYFACTORY_H - #pragma once +#include <unknwn.h> + enum State { State_Error = 0, State_OK, State_OKShared, @@ -43,4 +42,3 @@ private: int _state; }; -#endif
\ No newline at end of file diff --git a/shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp b/shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp index 7badf0f92..e830091c7 100644 --- a/shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp +++ b/shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp @@ -16,6 +16,7 @@ #include "OverlayConstants.h" #include <windows.h> +#include <objbase.h> #include <iostream> #include <fstream> |