33 lines
779 B
Diff
33 lines
779 B
Diff
From d9c99ffe43d9848579a472c7c5ec5515e6599cb9 Mon Sep 17 00:00:00 2001
|
|
From: Ryan O'Hara <rohara@redhat.com>
|
|
Date: Mon, 7 Jun 2021 16:58:23 -0500
|
|
Subject: [PATCH] Fix build errors
|
|
|
|
---
|
|
keepalived/core/layer4.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c
|
|
index d2cc971a..fdca0491 100644
|
|
--- a/keepalived/core/layer4.c
|
|
+++ b/keepalived/core/layer4.c
|
|
@@ -27,13 +27,14 @@
|
|
#include <errno.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
+#include <netinet/in.h>
|
|
+#include <net/if.h>
|
|
#include <linux/icmp.h>
|
|
#include <linux/icmpv6.h>
|
|
#ifdef ERRQUEUE_NEEDS_SYS_TIME
|
|
#include <sys/time.h>
|
|
#endif
|
|
#include <linux/errqueue.h>
|
|
-#include <netinet/in.h>
|
|
|
|
#include "layer4.h"
|
|
#include "logger.h"
|
|
--
|
|
2.31.1
|
|
|