examples: Fix build failure with android NDK

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-12 21:43:55 +09:00
parent e4801ca6f2
commit 37d41313d3
2 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,8 @@
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <err.h> #include <err.h>
#include <signal.h> #include <signal.h>

View File

@ -30,6 +30,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <ctype.h> #include <ctype.h>
#include <netinet/in.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <err.h> #include <err.h>