slackbuilds_ponce/network/barnyard2/barnyard2-1.13-free.patch
Andrew Clemons 8b188923ed
network/barnyard2: Fix build on 15.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-02-06 15:47:08 +07:00

11 lines
235 B
Diff

--- a/src/output-plugins/spo_alert_unixsock.c
+++ b/src/output-plugins/spo_alert_unixsock.c
@@ -56,6 +56,8 @@
#include "spo_alert_unixsock.h"
#include "barnyard2.h"
+#include <stdlib.h>
+
#define UNSOCK_FILE "barnyard2_alert"