ports/net/ntopng/patches/patch-include_ntop_includes_h

12 lines
277 B
Text

Index: include/ntop_includes.h
--- include/ntop_includes.h.orig
+++ include/ntop_includes.h
@@ -109,7 +109,7 @@
extern "C" {
#include "pcap.h"
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__OpenBSD__)
#include <pcap/bpf.h> /* Used for bpf_filter() */
#endif