From: Dan Albert Date: Mon, 19 Oct 2015 22:57:14 +0000 (-0700) Subject: Include what we use. X-Git-Tag: android-x86-8.1-r1~569^2~102^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=50eedd14706d7a9768e48bb3272bf00451becff4;p=android-x86%2Fsystem-extras.git Include what we use. libc++ used to leak unistd.h, causing ioctl and close to be leaked. It doesn't anymore, so actually include this. Change-Id: I510301a71ea0d9526a4862a634c7726053baa8f8 --- diff --git a/tests/tcp_nuke_addr/tcp_nuke_addr_test.cpp b/tests/tcp_nuke_addr/tcp_nuke_addr_test.cpp index d153949e..587f7686 100644 --- a/tests/tcp_nuke_addr/tcp_nuke_addr_test.cpp +++ b/tests/tcp_nuke_addr/tcp_nuke_addr_test.cpp @@ -1,15 +1,17 @@ -#include #include #include #include +#include +#include #include - -#include "utils/RWLock.h" +#include #include #include #include +#include "utils/RWLock.h" + // Defined only in ifc_utils.c, in the kernel, and in the NDK. #ifndef SIOCKILLADDR #define SIOCKILLADDR 0x8939