aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-11-29 15:03:00 -0600
committerJoseph Huber <jhuber6@vols.utk.edu>2022-11-29 15:03:46 -0600
commit21d9f725df8ba177dfa8a6a719618d5078dbb7a8 (patch)
tree1def398331dfe5756ec0b3d6111bc1709f32024a /libc
parentb726df1b3acc9517db5e0d8049819327231c1e9b (diff)
downloadllvm-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.cpp1
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;