summaryrefslogtreecommitdiffhomepage
path: root/test/util/capability_util.h
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-09-16 20:04:00 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-16 20:06:26 -0700
commitb28bd31bb6d920c23b5036d94bc7123143369e24 (patch)
tree5994e0cc0da688498cf6639816ed33ed9068fa7e /test/util/capability_util.h
parent85bd3dd9b119cbc5a68b778a18ae73d3567ff610 (diff)
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
Diffstat (limited to 'test/util/capability_util.h')
-rw-r--r--test/util/capability_util.h2
1 files changed, 2 insertions, 0 deletions
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__)