summaryrefslogtreecommitdiffstats
path: root/libc/bionic/raise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/raise.cpp')
-rw-r--r--libc/bionic/raise.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/bionic/raise.cpp b/libc/bionic/raise.cpp
index f69d90b..b134b5a 100644
--- a/libc/bionic/raise.cpp
+++ b/libc/bionic/raise.cpp
@@ -26,7 +26,9 @@
* SUCH DAMAGE.
*/
+#include <errno.h>
#include <pthread.h>
+#include <signal.h>
int raise(int sig) {
int rc = pthread_kill(pthread_self(), sig);