Skip to content

Commit

Permalink
Linus build break fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerZ committed Aug 31, 2024
1 parent 63aecdd commit 8b275c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,11 @@
#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
//#include <time.h>

#include <sys/stat.h>
#include <pthread.h>
//#include <ifaddrs.h>
//#include <fcntl.h>
//#include <netinet/in.h>
//#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>

//#define MAX_PATH 256

#else // Windows

#include <windows.h>
Expand Down
2 changes: 1 addition & 1 deletion src/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ BOOL socketClose(SOCKET *sp) {

#ifdef PLATFORM_ENABLE_GET_LOCAL_ADDR

#include <ifaddrs.h>
#ifndef __APPLE__
#include <linux/if_packet.h>
#else
#include <ifaddrs.h>
#include <net/if_dl.h>
#endif

Expand Down

0 comments on commit 8b275c8

Please sign in to comment.