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;