From b652e9ab4d614f2606f118327d07cab61cbc2a09 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 1 Aug 2018 12:26:17 -0700 Subject: [PATCH] Our prebuilt host glibc is new enough to remove a workaround. Bug: N/A Test: builds Change-Id: Ib91a106ddc15aa93f0dc3c85bc1a17eaeb49ab0f --- tests/eventfd_test.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/eventfd_test.cpp b/tests/eventfd_test.cpp index aa88a3b9d..68d919226 100644 --- a/tests/eventfd_test.cpp +++ b/tests/eventfd_test.cpp @@ -19,20 +19,7 @@ #include -#if defined(__BIONIC__) // Android's prebuilt gcc's header files don't include . #include -#else -// Include the necessary components of sys/eventfd.h right here. -#include - -typedef uint64_t eventfd_t; - -__BEGIN_DECLS -extern int eventfd(int, int); -extern int eventfd_read(int, eventfd_t*); -extern int eventfd_write(int, eventfd_t); -__END_DECLS -#endif TEST(eventfd, smoke) { unsigned int initial_value = 2;