diff options
Diffstat (limited to 'ping_common.h')
-rw-r--r-- | ping_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ping_common.h b/ping_common.h index a7c494d..8663b4c 100644 --- a/ping_common.h +++ b/ping_common.h @@ -7,7 +7,11 @@ #include <linux/sockios.h> #include <sys/file.h> #include <sys/time.h> +#ifdef ANDROID #include <signal.h> +#else +#include <sys/signal.h> +#endif #include <sys/ioctl.h> #include <net/if.h> #include <sys/uio.h> @@ -21,6 +25,12 @@ #include <arpa/inet.h> #include <linux/errqueue.h> +#ifdef ANDROID +#include <linux/icmp.h> +#endif + +#include "SNAPSHOT.h" + #define DEFDATALEN (64 - 8) /* default data length */ #define MAXWAIT 10 /* max seconds to wait for response */ |