Added sys/wait.h import

This commit is contained in:
Afonso Franco 2024-05-12 12:01:07 +01:00
parent b961019ac5
commit 9e957898f5
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
3 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
#include "../../libs/communication/communication.h" #include "../../libs/communication/communication.h"
#include "../../libs/protocol/protocol.h" #include "../../libs/protocol/protocol.h"
#include <stdio.h> #include <stdio.h>
#include <sys/wait.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>

View file

@ -1,5 +1,6 @@
#include "../../libs/protocol/protocol.h" #include "../../libs/protocol/protocol.h"
#include <stdio.h> #include <stdio.h>
#include <sys/wait.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>

View file

@ -1,6 +1,7 @@
#include "../../libs/communication/communication.h" #include "../../libs/communication/communication.h"
#include "../../libs/protocol/protocol.h" #include "../../libs/protocol/protocol.h"
#include <errno.h> #include <errno.h>
#include <sys/wait.h>
#include <fcntl.h> #include <fcntl.h>
#include <pwd.h> #include <pwd.h>
#include <stdio.h> #include <stdio.h>