summaryrefslogtreecommitdiffstats
path: root/libs/binder
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-01-27 19:56:06 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-27 19:56:06 +0000
commit39d890d9aed5cb07b8a166a749299b9d24d8f137 (patch)
tree8dc7f841c646f7ec59c1e4c361ebebaa8975907d /libs/binder
parentc7a7b118b501e82d98209ad64ddc18ac4ba404f7 (diff)
parent6e32c0377db89bafa477715b3a02431d651978cf (diff)
downloadframeworks_native-39d890d9aed5cb07b8a166a749299b9d24d8f137.zip
frameworks_native-39d890d9aed5cb07b8a166a749299b9d24d8f137.tar.gz
frameworks_native-39d890d9aed5cb07b8a166a749299b9d24d8f137.tar.bz2
am 6e32c037: Merge "Kill HAVE_PTHREADS."
* commit '6e32c0377db89bafa477715b3a02431d651978cf': Kill HAVE_PTHREADS.
Diffstat (limited to 'libs/binder')
-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