]> xenbits.xensource.com Git - unikraft/libs/click.git/commitdiff
stubs.cc: Include uk/essentials.h
authorStefan Jumarea <stefanjumarea02@gmail.com>
Fri, 8 Sep 2023 12:48:03 +0000 (15:48 +0300)
committerUnikraft <monkey@unikraft.io>
Sat, 9 Sep 2023 12:15:03 +0000 (12:15 +0000)
The `__unused` macro is not defined, but it is used in the stubs.cc
file. Add the `uk/essentials.h` header, since it includes the proper
definition.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #7

stubs.cc

index fcc72d879614b393d3d900dcd01c27cfa16fd3a0..927ada40b51b2eb9c6780733ef7b9f7a0d3249fc 100644 (file)
--- a/stubs.cc
+++ b/stubs.cc
@@ -1,4 +1,5 @@
 #include <errno.h>
+#include <uk/essentials.h>
 #include <click/config.h>
 #include <click/error.hh>
 #include <click/string.hh>