fix headers

use recommended headers and remove unused headers
This commit is contained in:
Brenton Bostick 2023-02-01 08:05:24 -05:00
parent 58e3b8c5ad
commit 216ed8c8ea
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
#include "ZT_jniarray.h" #include "ZT_jniarray.h"
#include <string> #include <string>
#include <assert.h> #include <cassert>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -18,7 +18,7 @@
#ifndef ZT_jniutils_h_ #ifndef ZT_jniutils_h_
#define ZT_jniutils_h_ #define ZT_jniutils_h_
#include <stdio.h>
#include <jni.h> #include <jni.h>
#include <ZeroTierOne.h> #include <ZeroTierOne.h>

View File

@ -34,8 +34,8 @@
#include <map> #include <map>
#include <string> #include <string>
#include <assert.h> #include <cassert>
#include <string.h> #include <cstring>
// global static JNI Lookup Object // global static JNI Lookup Object
JniLookup lookup; JniLookup lookup;