From a376915fdde1db06bd52b30f18bf9acf8d7bb084 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Mon, 22 Feb 2016 16:24:05 +0100 Subject: extcap: move includes into extcap-base. Change-Id: I802cc3a3bb3989411216ed070ecc018345e0d54f Reviewed-on: https://code.wireshark.org/review/14073 Reviewed-by: Roland Knall --- extcap/randpktdump.c | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'extcap/randpktdump.c') diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index aa16ebcd0a..c31293e595 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -28,43 +28,6 @@ #include "randpkt_core/randpkt_core.h" - -#ifdef HAVE_GETOPT_H - #include -#endif - -#ifndef HAVE_GETOPT_LONG - #include "wsutil/wsgetopt.h" -#endif - -#ifdef _WIN32 -#include -#endif - -#if defined(_WIN32) && !defined(__CYGWIN__) - #ifdef HAVE_WINDOWS_H - #include - #endif - - #include - - #ifdef HAVE_WINSOCK2_H - #include - #endif - - #include - - #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 - #define RANDPKT_EXTCAP_INTERFACE "randpkt" #define RANDPKTDUMP_VERSION_MAJOR 0 #define RANDPKTDUMP_VERSION_MINOR 1 -- cgit v1.2.3