Commit ae776d14 authored by Marek Vavrusa's avatar Marek Vavrusa

Updated include order in server.

parent d7963fa2
......@@ -4,6 +4,7 @@
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include "dthreads.h"
#include "common.h"
#include "log.h"
......
#include <unistd.h>
#include <stdio.h>
#include "server.h"
#include "udp-handler.h"
#include "tcp-handler.h"
#include "zone-database.h"
#include "name-server.h"
#include "zone-parser.h"
#include <unistd.h>
#include <stdio.h>
#include "stat.h"
cute_server *cute_create()
......
#include "socket.h"
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
......@@ -10,6 +9,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include "socket.h"
int socket_create(int family, int type)
{
// Create socket
......
#include <sys/socket.h>
#include <sys/epoll.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "name-server.h"
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/epoll.h>
#include "tcp-handler.h"
#include "name-server.h"
#include "stat.h"
/*! \brief TCP connection pool. */
......
#include <time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <errno.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "udp-handler.h"
#include "name-server.h"
#include "stat.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment