summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcompat/unistd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgcompat/unistd.c b/libgcompat/unistd.c
index e40fb6e..7e9227d 100644
--- a/libgcompat/unistd.c
+++ b/libgcompat/unistd.c
@@ -234,3 +234,8 @@ int execv(const char *pathname, char *const argv[]) {
int execvp(const char *file, char *const argv[]) {
return execv(file, argv);
}
+
+int __close(int fd)
+{
+ return close(fd);
+}