diff options
Diffstat (limited to 'devel/android-tools-fastboot-devel/files/patch-fastboot_socket.h')
-rw-r--r-- | devel/android-tools-fastboot-devel/files/patch-fastboot_socket.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/android-tools-fastboot-devel/files/patch-fastboot_socket.h b/devel/android-tools-fastboot-devel/files/patch-fastboot_socket.h new file mode 100644 index 000000000000..6b0b4bf20dd5 --- /dev/null +++ b/devel/android-tools-fastboot-devel/files/patch-fastboot_socket.h @@ -0,0 +1,14 @@ +--- fastboot/socket.h.orig 2016-02-20 02:39:51 UTC ++++ fastboot/socket.h +@@ -41,7 +41,10 @@ + + #include <android-base/macros.h> + #include <cutils/sockets.h> +-#include <gtest/gtest_prod.h> ++ ++// Copied from <gtest/gtest_prod.h> ++#define FRIEND_TEST(test_case_name, test_name)\ ++friend class test_case_name##_##test_name##_Test + + // Socket interface to be implemented for each platform. + class Socket { |