Skip to content

Commit

Permalink
try to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Aug 7, 2024
1 parent f8b1582 commit c748a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Create Conan host profile
run: |
cat > "${{github.workspace}}/host" << "EOF"
cat > "${{github.workspace}}/build/profiles/host" << "EOF"
[settings]
os=Linux
arch=${{matrix.conan_arch}}
Expand Down
7 changes: 1 addition & 6 deletions src/inputs/pcap/PcapInputStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
#include "PcapInputStream.h"
#include "NetworkInterfaceScan.h"
#include "ThreadName.h"
#include <pcap/pcap.h>
#include <timer.hpp>

#ifndef _WIN32
// Required for PcapPlusPlus on UNIX
#include <pcap.h>
#endif

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
Expand Down

0 comments on commit c748a33

Please sign in to comment.