hmgle / graftcp

A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.
GNU General Public License v3.0
2.1k stars 173 forks source link

sys/reg.h file not found on OSX #1

Closed komeiji-satori closed 6 years ago

komeiji-satori commented 6 years ago
➜  graftcp git:(master) ✗ make
In file included from util.c:15:
./graftcp.h:31:10: fatal error: 'sys/reg.h' file not found
#include <sys/reg.h>
         ^~~~~~~~~~~
1 error generated.
In file included from main.c:18:
./graftcp.h:31:10: fatal error: 'sys/reg.h' file not found
#include <sys/reg.h>
         ^~~~~~~~~~~
1 error generated.
cc -Wall -O2 -DNDEBUG -c -o main.o main.c
In file included from main.c:18:
./graftcp.h:31:10: fatal error: 'sys/reg.h' file not found
#include <sys/reg.h>
         ^~~~~~~~~~~
1 error generated.
make: *** [main.o] Error 1