From 0416b5fe08dde8a8cf89796c171d2c4b06e35bde Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 20 Oct 2020 20:46:51 +0000 Subject: [PATCH] steamcompmgr: add missing header src/steamcompmgr.cpp: In function 'void statsThreadMain()': src/steamcompmgr.cpp:357:62: error: 'O_WRONLY' was not declared in this scope 357 | statsPipeFD = open( statsThreadPath.c_str(), O_WRONLY ); | ^~~~~~~~ src/steamcompmgr.cpp:357:31: error: 'open' was not declared in this scope; did you mean 'popen'? 357 | statsPipeFD = open( statsThreadPath.c_str(), O_WRONLY ); | ^~~~ | popen src/steamcompmgr.cpp: In function 'void steamcompmgr_main(int, char**)': src/steamcompmgr.cpp:2559:61: error: 'O_WRONLY' was not declared in this scope 2559 | readyPipeFD = open( optarg, O_WRONLY ); | ^~~~~~~~ src/steamcompmgr.cpp:2559:47: error: 'open' was not declared in this scope; did you mean 'popen'? 2559 | readyPipeFD = open( optarg, O_WRONLY ); | ^~~~ | popen --- src/steamcompmgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 35ccf8e..f464a50 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include