aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/androiddump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/androiddump.c')
-rw-r--r--extcap/androiddump.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 1bedc68165..e5b68fbfb7 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -39,10 +39,6 @@
#include <unistd.h>
#endif
-#ifdef HAVE_GETOPT_H
- #include <getopt.h>
-#endif
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -51,34 +47,6 @@
#include <arpa/inet.h>
#endif
-#ifndef HAVE_GETOPT_LONG
- #include "wsutil/wsgetopt.h"
-#endif
-
-#if defined(_WIN32) && !defined(__CYGWIN__)
- #ifdef HAVE_WINDOWS_H
- #include <windows.h>
- #endif
-
- #include <ws2tcpip.h>
-
- #ifdef HAVE_WINSOCK2_H
- #include <winsock2.h>
- #endif
-
- #include <process.h>
-
- #define socket_handle_t SOCKET
-#else
- /*
- * UN*X, or Windows pretending to be UN*X with the aid of Cygwin.
- */
- #define closesocket(socket) close(socket)
- #define socket_handle_t int
- #define INVALID_SOCKET (-1)
- #define SOCKET_ERROR (-1)
-#endif
-
/* Configuration options */
/* #define ANDROIDDUMP_USE_LIBPCAP */
#define EXTCAP_ENCAP_BLUETOOTH_H4_WITH_PHDR 1