blob: 57338d4713ed03462936022f3668bf8f2cf40d08 [file] [log] [blame]
From 15f439c555289f900eb33111b010bf1266f97edb Mon Sep 17 00:00:00 2001
From: Jonathan Davies <jpds@protonmail.com>
Date: Thu, 25 Nov 2021 15:29:18 +0000
Subject: [PATCH] Reverts the include.h change in
46883f8a1a02fe42040dd8e48aec0ed871545d4d
Closes: #158
Upstream-Status: Backport [https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f]
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
includes.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/includes.h b/includes.h
index ef30b10..c528c86 100644
--- a/includes.h
+++ b/includes.h
@@ -76,12 +76,7 @@
#include <sys/sysctl.h>
#endif
-#if !defined(__GLIBC__) && defined(linux)
-#include <linux/if.h>
-#define IF_NAMESIZE IFNAMSIZ
-#else
#include <net/if.h>
-#endif
#ifdef HAVE_NET_IF_DL_H
#include <net/if_dl.h>