diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-11-29 15:03:00 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-11-29 15:03:46 -0600 |
commit | 21d9f725df8ba177dfa8a6a719618d5078dbb7a8 (patch) | |
tree | 1def398331dfe5756ec0b3d6111bc1709f32024a /libc | |
parent | b726df1b3acc9517db5e0d8049819327231c1e9b (diff) | |
download | llvm-21d9f725df8ba177dfa8a6a719618d5078dbb7a8.zip llvm-21d9f725df8ba177dfa8a6a719618d5078dbb7a8.tar.gz llvm-21d9f725df8ba177dfa8a6a719618d5078dbb7a8.tar.bz2 |
[libc] Fix test not including 'free'
Summary:
A previous change removed a transient inclusion of `stdlib.h` from the
`string_utils.h` file which this test depended on. Include it directly
here.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/test/integration/src/unistd/getcwd_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/test/integration/src/unistd/getcwd_test.cpp b/libc/test/integration/src/unistd/getcwd_test.cpp index 80b45ef..5e52155 100644 --- a/libc/test/integration/src/unistd/getcwd_test.cpp +++ b/libc/test/integration/src/unistd/getcwd_test.cpp @@ -13,6 +13,7 @@ #include "utils/IntegrationTest/test.h" #include <errno.h> +#include <stdlib.h> // For malloc and free using __llvm_libc::cpp::string_view; |