FIX: compilation for OS X, see https://github.com/Proxmark/proxmark3/pull/730/ (@jmichelp)

This commit is contained in:
iceman1001 2018-12-04 13:51:28 +01:00
parent 259dbadbe9
commit 898484f642

View file

@ -55,6 +55,11 @@
#include <arpa/inet.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 {
int fd; // Serial port file descriptor