devel/android-tools-simpleperf: explicitly include stdint.h for intptr_t (like r399204)

This commit is contained in:
Jan Beich 2015-12-16 09:37:01 +00:00
parent f2442363ed
commit 7304c3ca9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403851

View file

@ -1,6 +1,6 @@
--- libcutils/threads.c.orig 2015-08-12 23:28:08 UTC
--- libcutils/threads.c.orig 2015-06-17 22:20:38 UTC
+++ libcutils/threads.c
@@ -29,6 +29,12 @@
@@ -29,6 +29,14 @@
#include <unistd.h>
#elif defined(_WIN32)
#include <windows.h>
@ -10,6 +10,8 @@
+#include <pthread_np.h>
+#elif defined(__NetBSD__)
+#include <lwp.h>
+#else
+#include <stdint.h>
#endif
// No definition needed for Android because we'll just pick up bionic's copy.