From b28bd31bb6d920c23b5036d94bc7123143369e24 Mon Sep 17 00:00:00 2001 From: Ghanan Gowripalan Date: Thu, 16 Sep 2021 20:04:00 -0700 Subject: Allow creating packet socket bound to any protocol ...even protocols the stack is unaware of. While I am here, annotate checklocks on stack.packetEndpointList. PiperOrigin-RevId: 397226754 --- test/util/capability_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/util/capability_util.h') diff --git a/test/util/capability_util.h b/test/util/capability_util.h index 318a43feb..ac1a1b32b 100644 --- a/test/util/capability_util.h +++ b/test/util/capability_util.h @@ -17,6 +17,8 @@ #ifndef GVISOR_TEST_UTIL_CAPABILITY_UTIL_H_ #define GVISOR_TEST_UTIL_CAPABILITY_UTIL_H_ +#include "test/util/posix_error.h" + #if defined(__Fuchsia__) // Nothing to include. #elif defined(__linux__) -- cgit v1.2.3