summaryrefslogtreecommitdiff
path: root/Libraries/LibC/syslog.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-14 21:41:10 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-14 23:31:18 +0100
commit3bbf4610d24c0dd8f8f1d0b962259c1f7e067a2d (patch)
tree21130d15a28031b759ef8c73751c07e8881240ea /Libraries/LibC/syslog.cpp
parent8249e666fcaf6a4c1f4856443f40c67f0f3704c2 (diff)
downloadserenity-3bbf4610d24c0dd8f8f1d0b962259c1f7e067a2d.zip
AK: Add a forward declaration header
You can now #include <AK/Forward.h> to get most of the AK types as forward declarations. Header dependency explosion is one of the main contributors to compile times at the moment, so this is a step towards smaller include graphs.
Diffstat (limited to 'Libraries/LibC/syslog.cpp')
-rw-r--r--Libraries/LibC/syslog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibC/syslog.cpp b/Libraries/LibC/syslog.cpp
index 180eb22fde..650347da96 100644
--- a/Libraries/LibC/syslog.cpp
+++ b/Libraries/LibC/syslog.cpp
@@ -27,6 +27,7 @@
// Has to be defined before including due to legacy Unices
#define SYSLOG_NAMES 1
+#include <AK/String.h>
#include <AK/StringBuilder.h>
#include <stdio.h>
#include <string.h>