Compile fix on armhf

This commit is contained in:
Mark Qvist 2020-05-26 21:37:21 +02:00
parent 85ebb3d7b1
commit 57f0336fda
2 changed files with 3 additions and 4 deletions

5
TAP.h
View File

@ -5,10 +5,9 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <linux/if.h> #include <net/if.h>
#include <linux/if_tun.h> #include <linux/if_tun.h>
//#include <sys/socket.h> #include <sys/socket.h>
//#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include "Constants.h" #include "Constants.h"

View File

@ -2,7 +2,7 @@
.PHONY: all clean install tncattach .PHONY: all clean install tncattach
compiler = gcc compiler = gcc
flags = -lm flags = -std=gnu11 -lm
all: tncattach all: tncattach
rebuild: clean all rebuild: clean all