no ifaddrs.h on Android?

This commit is contained in:
Janjaap Bos
2016-07-27 11:28:48 +02:00
parent 4666b7a2b8
commit a8866c7079

View File

@@ -80,8 +80,10 @@ class SqliteNetworkController;
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h> #include <unistd.h>
#if !defined(__ANDROID__)
#include <ifaddrs.h> #include <ifaddrs.h>
#endif #endif
#endif
// Include the right tap device driver for this platform -- add new platforms here // Include the right tap device driver for this platform -- add new platforms here
#ifdef SDK #ifdef SDK