mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 23:52:27 +08:00
FIX: compilation for OS X, see https://github.com/Proxmark/proxmark3/pull/730/ (@jmichelp)
This commit is contained in:
parent
259dbadbe9
commit
898484f642
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
||||||
|
// Taken from https://github.com/unbit/uwsgi/commit/b608eb1772641d525bfde268fe9d6d8d0d5efde7
|
||||||
|
#ifndef SOL_TCP
|
||||||
|
# define SOL_TCP IPPROTO_TCP
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct termios term_info;
|
typedef struct termios term_info;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int fd; // Serial port file descriptor
|
int fd; // Serial port file descriptor
|
||||||
|
|
Loading…
Reference in a new issue