https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d214e1c4d4af1166f2f5df66edfa069f6732e9c4

commit d214e1c4d4af1166f2f5df66edfa069f6732e9c4
Author:     Giannis Adamopoulos <[email protected]>
AuthorDate: Thu Mar 1 10:05:12 2018 +0200
Commit:     Giannis Adamopoulos <[email protected]>
CommitDate: Thu Mar 1 10:05:54 2018 +0200

    [TELEPHON.CPL] Include winuser.h in the rc which is needed for 
manifest_hosted.rc
    Add a check in manifest_hosted.rc to make sure that winuser.h is included
---
 dll/cpl/telephon/telephon.rc           | 1 +
 sdk/include/reactos/manifest_hosted.rc | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/dll/cpl/telephon/telephon.rc b/dll/cpl/telephon/telephon.rc
index 44ce43dc3f..c08e4e6573 100644
--- a/dll/cpl/telephon/telephon.rc
+++ b/dll/cpl/telephon/telephon.rc
@@ -1,4 +1,5 @@
 #include <windef.h>
+#include <winuser.h>
 
 #include "resource.h"
 
diff --git a/sdk/include/reactos/manifest_hosted.rc 
b/sdk/include/reactos/manifest_hosted.rc
index 05604d44c7..46d0cb27d9 100644
--- a/sdk/include/reactos/manifest_hosted.rc
+++ b/sdk/include/reactos/manifest_hosted.rc
@@ -1 +1,6 @@
+
+#ifndef RT_MANIFEST
+#error please include winuser.h before including me!
+#endif
+
 123 RT_MANIFEST "manifest.xml"

Reply via email to