Skip to content

Commit f40602e

Browse files
committed
another quick fix
1 parent e081444 commit f40602e

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/initialize_client_socket.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
#include <stdio.h>
55
#include <stdlib.h>
66
#include <string.h>
7-
#include <sys/_pthread/_pthread_t.h>
8-
#include <sys/_types/_socklen_t.h>
7+
#include <pthread.h>
98
#include <unistd.h>
109
#include <arpa/inet.h>
1110
#include <netinet/ip.h>

src/internal/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <netinet/in.h>
44
#include <stdatomic.h>
55
#include <stdlib.h>
6-
#include <sys/_types/_socklen_t.h>
6+
#include <sys/socket.h>
77

88
#define REQUEST_LOST_PACKETS_RETURN_UPDATED_BIT_ARRAY 0x00
99
#define REQUEST_LOST_PACKETS_RETURN_COMPLETED_PACKET 0x01

src/process_packets.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <stdlib.h>
66
#include <pthread.h>
77
#include <string.h>
8-
#include <sys/_types/_in_addr_t.h>
98
#include <sys/socket.h>
109
#include <unistd.h>
1110
#include <stdio.h>

src/send_packet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <stdio.h>
77
#include <stdlib.h>
88
#include <errno.h>
9-
#include <sys/_types/_socklen_t.h>
9+
#include <sys/socket.h>
1010
#include <time.h>
1111
#include <unistd.h>
1212
#include <arpa/inet.h>

0 commit comments

Comments
 (0)