summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/echo_srv.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/echo_srv.c b/tests/echo_srv.c
index dd6fafd..a207419 100644
--- a/tests/echo_srv.c
+++ b/tests/echo_srv.c
@@ -1,17 +1,21 @@
-#include <stdio.h>
-#include <stdlib.h>
#include <errno.h>
-#include <sys/socket.h>
+
#include <sys/types.h>
+#include <sys/socket.h>
#include <sys/stat.h>
-#include <resolv.h>
+
#include <arpa/inet.h>
-#include <errno.h>
+#include <netinet/in.h>
#include <netdb.h>
-#include <string.h>
+#include <resolv.h>
+
+#include <fcntl.h>
#include <getopt.h>
#include <unistd.h>
-#include <fcntl.h>
+
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <stdbool.h>
#ifndef PIDFILE