Skip to content

Commit 2c10a5b

Browse files
committed
Fix
1 parent 945e85a commit 2c10a5b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ On windows, creating/attaching a console to a GUI application can be done easily
5050
#include "cpp-terminal/color.hpp"
5151

5252
#include <iostream>
53+
#include <windows.h>
5354

5455
int __stdcall WinMain(HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int show)
5556
{

tests/attach_console_minimal.test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <iostream>
55

66
#ifdef _WIN32
7+
#include <windows.h>
78
int __stdcall WinMain(HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int show)
89
#else
910
int main()

0 commit comments

Comments
 (0)