Get master building on MacOS

This commit is contained in:
Adam Honse 2020-09-22 13:22:24 -07:00
parent 55bf28d4c3
commit 1354864038
5 changed files with 75 additions and 26 deletions

View file

@ -13,10 +13,13 @@
#include <string.h>
#include <stdio.h>
#ifdef WIN32
#ifdef _WIN32
#include <windows.h>
#else
#endif /* _WIN32 */
#ifdef __linux__
#include <fcntl.h>
#include <unistd.h>
@ -35,7 +38,7 @@
#include <asm-generic/ioctls.h>
#endif
#endif /* __linux__ */
//Serial Port Class