1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller

This commit is contained in:
Andreas Kling 2020-03-08 12:05:14 +01:00
parent 35d88f536c
commit 37fc6c117c
44 changed files with 67 additions and 25 deletions

View file

@ -35,6 +35,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/wait.h>
@ -142,7 +143,7 @@ void TerminalWrapper::run_command(const String& command)
auto parts = command.split(' ');
ASSERT(!parts.is_empty());
const char** args = (const char**) calloc(parts.size() + 1, sizeof(const char*));
const char** args = (const char**)calloc(parts.size() + 1, sizeof(const char*));
for (size_t i = 0; i < parts.size(); i++) {
args[i] = parts[i].characters();
}