Fix building on Android NDK.
This commit is contained in:
3
IO.cpp
3
IO.cpp
@@ -20,8 +20,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "Streams.hpp"
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
//#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
@@ -31,6 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "u2f.hpp"
|
||||
#include "Macro.hpp"
|
||||
#include "U2FDevice.hpp"
|
||||
#include <array>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
6
Scripts/cpp-base64-CMakeLists.txt
Normal file
6
Scripts/cpp-base64-CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.4.1)
|
||||
|
||||
set(CMAKE_C_FLAGS, "${CMAKE_C_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Werror")
|
||||
|
||||
add_library(cppb64 STATIC base64.cpp)
|
||||
6
Scripts/uECC-CMakeLists.txt
Normal file
6
Scripts/uECC-CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.4.1)
|
||||
|
||||
set(CMAKE_C_FLAGS, "${CMAKE_C_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Werror")
|
||||
|
||||
add_library(uECC STATIC uECC.c)
|
||||
Reference in New Issue
Block a user