aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-14 00:41:25 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-14 00:41:25 +0100
commitc92dc5da2fd912717834f0fb84a785abd655c948 (patch)
tree0084060156c891736e09943a64665ea09d8dee7e
parent924f44d167f3f9e00ecff21cb0faf1c7846ee85f (diff)
Fixed the includes
-rw-r--r--FICS/get_tcp_conn.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/FICS/get_tcp_conn.c b/FICS/get_tcp_conn.c
index 904da47..73a6d64 100644
--- a/FICS/get_tcp_conn.c
+++ b/FICS/get_tcp_conn.c
@@ -14,19 +14,23 @@
/* Uncomment the following line if you are using old socket calls */
/* #define OLDSOCKET */
+#include "stdinclude.h"
-#include <sys/types.h>
#include <sys/socket.h>
-#include <netinet/in.h>
+#include <sys/types.h>
+
#include <arpa/inet.h>
+#include <netdb.h>
+#include <netinet/in.h>
+
#include <ctype.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <netdb.h>
+
#include "get_tcp_conn.h"
#include "get_tcp_conn.proto.h"
-#include "stdinclude.h"
extern int errno;
extern int close();