clean webserv includes
This commit is contained in:
@@ -2,32 +2,31 @@
|
||||
#ifndef WEBSERV_HPP
|
||||
# define WEBSERV_HPP
|
||||
|
||||
# include <iostream> // cout, cin
|
||||
# include <string>
|
||||
# include <map>
|
||||
# include <vector>
|
||||
# include <cerrno> // errno
|
||||
# include <cstdio> // perror
|
||||
# include <exception>
|
||||
# include <stdexcept>
|
||||
# include <unistd.h> // close
|
||||
# include <cstring> // memset
|
||||
|
||||
# include <sys/socket.h> // socket, accept, listen, send, recv, bind, connect, setsockopt, getsockname
|
||||
# include <netinet/in.h> // sockaddr_in
|
||||
# include <string>
|
||||
# include <sstream> // stringstream
|
||||
# include <cerrno> // errno
|
||||
# include <cstdio> // perror
|
||||
# include <unistd.h> // close, access
|
||||
# include <iostream> // cout, cin
|
||||
# include <cstring> // memset
|
||||
# include <sys/socket.h> // socket, accept, listen, send, recv, bind, connect, setsockopt, getsockname
|
||||
# include <netinet/in.h> // sockaddr_in
|
||||
// # include <netinet/ip.h> // usefull for what ?
|
||||
# include <arpa/inet.h> // htonl, htons, ntohl, ntohs, inet_addr
|
||||
|
||||
# include <sys/epoll.h> // epoll
|
||||
# include <fcntl.h> // fcntl
|
||||
# include <arpa/inet.h> // htonl, htons, ntohl, ntohs, inet_addr
|
||||
# include <sys/epoll.h> // epoll
|
||||
# include <fcntl.h> // fcntl
|
||||
# include <sys/wait.h> // waitpid
|
||||
# include <csignal> // signal
|
||||
# include <cstdlib> // itoa
|
||||
char *ft_itoa(int n);
|
||||
# include <fstream> // ifstream
|
||||
|
||||
# include "Client.hpp"
|
||||
# include "Server.hpp"
|
||||
# include <csignal> // signal
|
||||
# include <cstdlib> // itoa
|
||||
# include <fstream> // ifstream
|
||||
char *ft_itoa(int n);
|
||||
# include <unistd.h> // access
|
||||
|
||||
extern bool g_run;
|
||||
extern int g_last_signal;
|
||||
|
||||
Reference in New Issue
Block a user