Browse Source

libobs: Make ComPtr header self-sufficient

Don't make someone else define IUnknown.
jpark37 6 years ago
parent
commit
82797eb367
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libobs/util/windows/ComPtr.hpp

+ 4 - 0
libobs/util/windows/ComPtr.hpp

@@ -16,6 +16,10 @@
 
 #pragma once
 
+#ifdef _WIN32
+#include <Unknwn.h>
+#endif
+
 /* Oh no I have my own com pointer class, the world is ending, how dare you
  * write your own! */