Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-03-13 18:30:58 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2020-03-13 18:30:58 +0300
commitecb7347d330235e293cce503ca05723e069dc739 (patch)
treee4fc0aab1e0de36796d2a25921865fa36b8571b6 /shell_integration
parent4d690710d2e54791aaf90bfdd50c85966aebe49d (diff)
2.7 has less automatic includes on Windows
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/windows/OCOverlays/OCOverlayFactory.h6
-rw-r--r--shell_integration/windows/OCOverlays/OCOverlayRegistrationHandler.cpp1
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>