упрощение сборки Android клиента
[novacoin.git] / src / compat.h
index 3c95e37..67fe63d 100644 (file)
 #else
 #include <sys/types.h>
 #include <sys/socket.h>
+#ifdef ANDROID
+#include <fcntl.h>
+#else
 #include <sys/fcntl.h>
+#endif
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <net/if.h>