From 57cddb5cc22ea632a87b899001d9b438f4581934 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 26 Apr 2014 18:16:57 +0200 Subject: [PATCH] Fix libc files not including their associated header. --- libc/unistd/unlinkat.cpp | 1 + libc/wchar/wcscpy.cpp | 2 +- libc/wchar/wcslen.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libc/unistd/unlinkat.cpp b/libc/unistd/unlinkat.cpp index b9289530..03429217 100644 --- a/libc/unistd/unlinkat.cpp +++ b/libc/unistd/unlinkat.cpp @@ -24,6 +24,7 @@ #include #include +#include DEFN_SYSCALL3(int, sys_unlinkat, SYSCALL_UNLINKAT, int, const char*, int); diff --git a/libc/wchar/wcscpy.cpp b/libc/wchar/wcscpy.cpp index 2c16a19b..89f9caad 100644 --- a/libc/wchar/wcscpy.cpp +++ b/libc/wchar/wcscpy.cpp @@ -22,7 +22,7 @@ *******************************************************************************/ -#include +#include extern "C" wchar_t* wcscpy(wchar_t* dest, const wchar_t* src) { diff --git a/libc/wchar/wcslen.cpp b/libc/wchar/wcslen.cpp index 13ad2f4e..737233af 100644 --- a/libc/wchar/wcslen.cpp +++ b/libc/wchar/wcslen.cpp @@ -22,7 +22,7 @@ *******************************************************************************/ -#include +#include extern "C" size_t wcslen(const wchar_t* str) {