26 lines
743 B
Diff
26 lines
743 B
Diff
From 96e5049f1f890800bcd2e05c2cac26af39331a81 Mon Sep 17 00:00:00 2001
|
|
From: rpm-build <rpm-build>
|
|
Date: Sat, 20 Apr 2024 15:56:15 +0800
|
|
Subject: [PATCH] fix a not defined macro error
|
|
|
|
---
|
|
interface.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/interface.h b/interface.h
|
|
index 58e5ab3..c631c14 100644
|
|
--- a/interface.h
|
|
+++ b/interface.h
|
|
@@ -63,7 +63,7 @@ struct bpf_program;
|
|
* With Capsicum bpf_dump() may be not declared even if HAVE_BPF_DUMP is set.
|
|
*/
|
|
#if !defined(HAVE_BPF_DUMP) || \
|
|
- (defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
|
|
+ (defined(HAVE_BPF_DUMP) && defined(HAVE_CAPSICUM) && !defined(bpf_dump))
|
|
extern void bpf_dump(const struct bpf_program *, int);
|
|
|
|
#endif
|
|
--
|
|
2.27.0
|
|
|