mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Julian=20Offenh=C3=A4user?= <offenhaeuser@protonmail.com>
|
|
Date: Tue, 7 Feb 2023 21:21:46 +0100
|
|
Subject: [PATCH] Add missing includes
|
|
|
|
These are missing when compiling the release build.
|
|
---
|
|
src/openrct2/core/String.cpp | 1 +
|
|
src/openrct2/network/Socket.cpp | 2 ++
|
|
2 files changed, 3 insertions(+)
|
|
|
|
diff --git a/src/openrct2/core/String.cpp b/src/openrct2/core/String.cpp
|
|
index 4cc60ce853d4ab8b707483c949032f48271f9660..32a88bde45fd53082cf5ba38c9f7bd02a6c16d5d 100644
|
|
--- a/src/openrct2/core/String.cpp
|
|
+++ b/src/openrct2/core/String.cpp
|
|
@@ -8,6 +8,7 @@
|
|
*****************************************************************************/
|
|
|
|
#include <algorithm>
|
|
+#include <alloca.h>
|
|
#include <cctype>
|
|
#include <cwctype>
|
|
#include <iomanip>
|
|
diff --git a/src/openrct2/network/Socket.cpp b/src/openrct2/network/Socket.cpp
|
|
index b8b2edbf32a292acefc67893e4c6f1f12f266691..a84c92fc471b55bdf9476821a234cd727a0b370b 100644
|
|
--- a/src/openrct2/network/Socket.cpp
|
|
+++ b/src/openrct2/network/Socket.cpp
|
|
@@ -52,6 +52,8 @@
|
|
#include <unistd.h>
|
|
#include <sys/ioctl.h>
|
|
#include <sys/socket.h>
|
|
+ #include <sys/time.h>
|
|
+ #include <sys/select.h>
|
|
#include <unistd.h>
|
|
#include "../common.h"
|
|
using SOCKET = int32_t;
|