diff options
author | Damjan Marion <damarion@cisco.com> | 2023-09-06 21:18:18 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-09-13 13:41:36 +0000 |
commit | 3d2f718e6fece410a903474741487fdff9d5cb27 (patch) | |
tree | 2788342aeeaaed11a30cbb62e20692d7c0b6368f /src/vnet/interface_api.c | |
parent | aa9177c7517d51972e932cf8a787650650d1225e (diff) |
build: fix clang-16 build
Change-Id: I882bef6f45fd276587fb93944ff4e21dc57dbca2
Type: fix
Fixes: 1c82cd4
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface_api.c')
-rw-r--r-- | src/vnet/interface_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/interface_api.c b/src/vnet/interface_api.c index 01f2fd0c8b2..9f1d43a6c37 100644 --- a/src/vnet/interface_api.c +++ b/src/vnet/interface_api.c @@ -17,6 +17,9 @@ *------------------------------------------------------------------ */ +#define _GNU_SOURCE +#include <string.h> + #include <vnet/vnet.h> #include <vlibmemory/api.h> @@ -384,7 +387,6 @@ vl_api_sw_interface_dump_t_handler (vl_api_sw_interface_dump_t * mp) vec_add1 (filter, 0); /* Ensure it's a C string for strcasecmp() */ } - char *strcasestr (char *, char *); /* lnx hdr file botch */ /* *INDENT-OFF* */ pool_foreach (swif, im->sw_interfaces) { |