Add a couple of extra unistd.h includes to fix a build failure

This commit is contained in:
Tim Wojtulewicz 2022-10-29 22:36:10 -07:00 committed by Tomer Lev
parent fbcb7bd2ec
commit af947ae000
3 changed files with 5 additions and 3 deletions

View file

@ -1,12 +1,11 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include <unistd.h>
#include <sys/socket.h>
#include "zeek/iosource/BPF_Program.h"
#include "zeek/zeek-config.h"
#include <unistd.h>
#include <sys/socket.h>
#include <cstring>
#include "zeek/util.h"

View file

@ -2,6 +2,8 @@
#pragma once
#include <unistd.h>
extern "C"
{
#include <pcap.h>

View file

@ -3,6 +3,7 @@
#pragma once
#include <sys/types.h> // for u_char
#include <unistd.h>
extern "C"
{