You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
371 B

--- a/raw.c
+++ b/raw.c
@@ -20,7 +20,6 @@
#include <fcntl.h>
#include <linux/filter.h>
#include <linux/if_ether.h>
-#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
--- a/util.h
+++ b/util.h
@@ -20,6 +20,8 @@
#ifndef HAVE_UTIL_H
#define HAVE_UTIL_H
+#include <time.h>
+
#include "ddt.h"
#include "ether.h"