1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +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

@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <AK/Memory.h>
#include <AK/SharedBuffer.h>
#include <AK/String.h>
#include <LibGfx/Bitmap.h>

View file

@ -25,8 +25,8 @@
*/
#include "Font.h"
#include "Emoji.h"
#include "Bitmap.h"
#include "Emoji.h"
#include <AK/BufferStream.h>
#include <AK/MappedFile.h>
#include <AK/StdLibExtras.h>
@ -35,9 +35,10 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
#include <stdlib.h>
namespace Gfx {

View file

@ -31,6 +31,7 @@
#include <AK/NonnullOwnPtrVector.h>
#include <LibGfx/GIFLoader.h>
#include <stdio.h>
#include <string.h>
namespace Gfx {

View file

@ -25,10 +25,11 @@
*/
#include "Painter.h"
#include "Bitmap.h"
#include "Emoji.h"
#include "Font.h"
#include "Bitmap.h"
#include <AK/Assertions.h>
#include <AK/Memory.h>
#include <AK/StdLibExtras.h>
#include <AK/StringBuilder.h>
#include <AK/Utf8View.h>
@ -38,15 +39,15 @@
#include <unistd.h>
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC optimize("O3")
# pragma GCC optimize("O3")
#endif
#ifndef ALWAYS_INLINE
#if __has_attribute(always_inline)
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define ALWAYS_INLINE inline
#endif
# if __has_attribute(always_inline)
# define ALWAYS_INLINE __attribute__((always_inline))
# else
# define ALWAYS_INLINE inline
# endif
#endif
namespace Gfx {

View file

@ -27,6 +27,7 @@
#include <AK/Badge.h>
#include <AK/SharedBuffer.h>
#include <LibGfx/Palette.h>
#include <string.h>
namespace Gfx {

View file

@ -29,6 +29,7 @@
#include <AK/Forward.h>
#include <AK/StdLibExtras.h>
#include <LibGfx/Orientation.h>
#include <stdlib.h>
namespace Gfx {

View file

@ -31,6 +31,7 @@
#include <LibGfx/Point.h>
#include <LibGfx/Size.h>
#include <LibGfx/TextAlignment.h>
#include <stdlib.h>
namespace Gfx {