Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 1 | From 881709d1e4d1bba5bf8ca365bc058f338bd72dc2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Petr Vorel <petr.vorel@gmail.com> |
| 3 | Date: Wed, 29 Sep 2021 19:38:42 +0200 |
| 4 | Subject: [PATCH] lapi/rtnetlink.h: Fix include guards |
| 5 | |
| 6 | Fixes: 5fea0638a ("lapi: Add missing IFA_FLAGS") |
| 7 | |
| 8 | Signed-off-by: Petr Vorel <petr.vorel@gmail.com> |
| 9 | Upstream-Status: Backport [a2a212cf8 ("lapi/rtnetlink.h: Fix include guards")] |
| 10 | --- |
| 11 | include/lapi/rtnetlink.h | 6 +++--- |
| 12 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 13 | |
| 14 | diff --git a/include/lapi/rtnetlink.h b/include/lapi/rtnetlink.h |
| 15 | index 8a1b5385b..04e9ad51a 100644 |
| 16 | --- a/include/lapi/rtnetlink.h |
| 17 | +++ b/include/lapi/rtnetlink.h |
| 18 | @@ -1,8 +1,8 @@ |
| 19 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 20 | /* Copyright (c) 2021 Petr Vorel <petr.vorel@gmail.com> */ |
| 21 | |
| 22 | -#ifndef LAPI_IF_ADDR_H__ |
| 23 | -# define LAPI_IF_ADDR_H__ |
| 24 | +#ifndef LAPI_RTNETLINK_H__ |
| 25 | +# define LAPI_RTNETLINK_H__ |
| 26 | |
| 27 | #include <linux/rtnetlink.h> |
| 28 | |
| 29 | @@ -10,4 +10,4 @@ |
| 30 | # define IFA_FLAGS 8 |
| 31 | #endif |
| 32 | |
| 33 | -#endif /* LAPI_IF_ADDR_H__ */ |
| 34 | +#endif /* LAPI_RTNETLINK_H__ */ |
| 35 | -- |
| 36 | 2.33.0 |
| 37 | |