Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From 15f439c555289f900eb33111b010bf1266f97edb Mon Sep 17 00:00:00 2001 |
| 2 | From: Jonathan Davies <jpds@protonmail.com> |
| 3 | Date: Thu, 25 Nov 2021 15:29:18 +0000 |
| 4 | Subject: [PATCH] Reverts the include.h change in |
| 5 | 46883f8a1a02fe42040dd8e48aec0ed871545d4d |
| 6 | |
| 7 | Closes: #158 |
| 8 | |
| 9 | Upstream-Status: Backport [https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f] |
| 10 | Signed-off-by: Jonathan Davies <jpds@protonmail.com> |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | --- |
| 13 | includes.h | 5 ----- |
| 14 | 1 file changed, 5 deletions(-) |
| 15 | |
| 16 | diff --git a/includes.h b/includes.h |
| 17 | index ef30b10..c528c86 100644 |
| 18 | --- a/includes.h |
| 19 | +++ b/includes.h |
| 20 | @@ -76,12 +76,7 @@ |
| 21 | #include <sys/sysctl.h> |
| 22 | #endif |
| 23 | |
| 24 | -#if !defined(__GLIBC__) && defined(linux) |
| 25 | -#include <linux/if.h> |
| 26 | -#define IF_NAMESIZE IFNAMSIZ |
| 27 | -#else |
| 28 | #include <net/if.h> |
| 29 | -#endif |
| 30 | |
| 31 | #ifdef HAVE_NET_IF_DL_H |
| 32 | #include <net/if_dl.h> |