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
This commit is contained in:
parent
667d8afc54
commit
0416b5fe08
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <fcntl.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <sys/poll.h>
|
#include <sys/poll.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
Loading…
Reference in a new issue