diff --git a/inc/Utils.h b/inc/Utils.h index 22f576de315f40f83a195a6f1182f155fdd4c299..d605577196602d7702c2fed4948a04e79207951e 100644 --- a/inc/Utils.h +++ b/inc/Utils.h @@ -11,6 +11,7 @@ #include <string.h> #include <sys/socket.h> #include <arpa/inet.h> +#include <sys/wait.h> #ifdef __linux__ #include <bits/stdc++.h> #endif @@ -21,9 +22,6 @@ using std::get; using std::tuple_element; using std::tuple; -static pthread_mutex_t thread_counter_lock = PTHREAD_MUTEX_INITIALIZER; -static int thread_counter = 0; - vector<string> splitString(string s, string delimiter); string getIP(); string getIP(const char * host);