|
|
@ -1,5 +1,5 @@ |
|
|
|
/*
|
|
|
|
* (C) 2007-18 - ntop.org and contributors |
|
|
|
* (C) 2007-20 - ntop.org and contributors |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
@ -16,20 +16,9 @@ |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
#include "n2n_wire.h" |
|
|
|
#include "n2n_transforms.h" |
|
|
|
#include "n2n.h" |
|
|
|
#ifdef __GNUC__ |
|
|
|
#include <sys/time.h> |
|
|
|
#endif |
|
|
|
#include <time.h> |
|
|
|
#include <string.h> |
|
|
|
#include <stdio.h> |
|
|
|
|
|
|
|
|
|
|
|
#if defined(WIN32) && !defined(__GNUC__) |
|
|
|
#include <windows.h> |
|
|
|
|
|
|
|
static int gettimeofday(struct timeval *tp, void *tzp) |
|
|
|
{ |
|
|
|
time_t clock; |
|
|
|