summaryrefslogtreecommitdiff
path: root/libc/src/threads/linux/call_once.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2021-01-09 00:35:00 +0000
committerMichael Jones <michaelrj@google.com>2021-01-09 00:39:18 +0000
commitb02ca0969ea3f8147ae74d08e131f1bfe4f203d2 (patch)
tree89d1247f787e35f5293f9e1a87c6f9416d25a409 /libc/src/threads/linux/call_once.cpp
parenta0b65a7bcd6065688189b3d678c42ed6af9603db (diff)
[libc][NFC] add includes for internal headers to all libc functions
this will make sure that all of the functions are using the correct prototypes. Explained much better in the comments of this diff: https://reviews.llvm.org/D94195
Diffstat (limited to 'libc/src/threads/linux/call_once.cpp')
-rw-r--r--libc/src/threads/linux/call_once.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/src/threads/linux/call_once.cpp b/libc/src/threads/linux/call_once.cpp
index 9e1d9359ad37..ac8aca4cc8d8 100644
--- a/libc/src/threads/linux/call_once.cpp
+++ b/libc/src/threads/linux/call_once.cpp
@@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//
+#include "src/threads/call_once.h"
#include "config/linux/syscall.h" // For syscall functions.
#include "include/sys/syscall.h" // For syscall numbers.
#include "include/threads.h" // For call_once related type definition.