summaryrefslogtreecommitdiffstats
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-01-26 19:45:47 -0800
committerYabin Cui <yabinc@google.com>2015-01-26 22:36:36 -0800
commit8fb2d25ff3e9ade7c03ebe52a89c671ee75ce484 (patch)
tree9ea26100616867e476c932a52ea63025e982185a /libs/binder/IPCThreadState.cpp
parenta46ff664571465b7a2741bed4225d30b5bf07503 (diff)
downloadframeworks_native-8fb2d25ff3e9ade7c03ebe52a89c671ee75ce484.zip
frameworks_native-8fb2d25ff3e9ade7c03ebe52a89c671ee75ce484.tar.gz
frameworks_native-8fb2d25ff3e9ade7c03ebe52a89c671ee75ce484.tar.bz2
Kill HAVE_PTHREADS.
Bug: 19083585 Change-Id: I355491de945590f43c82bdcb7968b01b4bff6e06
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index 2043d54..9f68aa8 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -29,21 +29,14 @@
#include <private/binder/binder_module.h>
#include <private/binder/Static.h>
-#include <sys/ioctl.h>
-#include <signal.h>
#include <errno.h>
-#include <stdio.h>
-#include <unistd.h>
-
-#ifdef HAVE_PTHREADS
#include <pthread.h>
#include <sched.h>
+#include <signal.h>
+#include <stdio.h>
+#include <sys/ioctl.h>
#include <sys/resource.h>
-#endif
-#ifdef HAVE_WIN32_THREADS
-#include <windows.h>
-#endif
-
+#include <unistd.h>
#if LOG_NDEBUG