diff options
author | Jay Zhuang <jayzhuang@google.com> | 2019-12-09 13:35:56 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-09 13:37:32 -0800 |
commit | 17867c88f7afdac6ff1c212aeac9aee2045f4f5a (patch) | |
tree | 3ac1385f185ee7084179e75720786d9e08381393 /test/syscalls/linux/proc_net_udp.cc | |
parent | 898dcc2f839a975a9171271824af32176c2e5c27 (diff) |
Include <netinet/tcp.h> for TCP enums in proc_net tests
These are currently duplicated in ip_socket_test_util, so tests including
both netinet/tcp.h and ip_socket_test_util won't compile.
PiperOrigin-RevId: 284623958
Diffstat (limited to 'test/syscalls/linux/proc_net_udp.cc')
-rw-r--r-- | test/syscalls/linux/proc_net_udp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/proc_net_udp.cc b/test/syscalls/linux/proc_net_udp.cc index f06f1a24b..786b4b4af 100644 --- a/test/syscalls/linux/proc_net_udp.cc +++ b/test/syscalls/linux/proc_net_udp.cc @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include <netinet/tcp.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> |