summaryrefslogtreecommitdiff
path: root/libc/src/pthread/pthread_atfork.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2022-11-11 13:50:01 -0800
committerMichael Jones <michaelrj@google.com>2022-11-11 16:01:39 -0800
commit4d25761b076d19c237890ad7b7331d01bd3a84b6 (patch)
treef10852fc554e0b0768822aa18fafebbdae82f97d /libc/src/pthread/pthread_atfork.cpp
parente7707464a3f7bf0c6011809d80d0a6e525be184b (diff)
[libc] move fork into threads folder
Fork, as a thread function, should go in the threads folder. Additionally, it depends on the thread mutex, and it was causing build issues for targets where we don't support threads. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D137867
Diffstat (limited to 'libc/src/pthread/pthread_atfork.cpp')
-rw-r--r--libc/src/pthread/pthread_atfork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/pthread/pthread_atfork.cpp b/libc/src/pthread/pthread_atfork.cpp
index bff80d5fd456..7136bf35816c 100644
--- a/libc/src/pthread/pthread_atfork.cpp
+++ b/libc/src/pthread/pthread_atfork.cpp
@@ -9,7 +9,7 @@
#include "pthread_atfork.h"
#include "src/__support/common.h"
-#include "src/__support/fork_callbacks.h"
+#include "src/__support/threads/fork_callbacks.h"
#include <errno.h>
#include <pthread.h> // For pthread_* type definitions.