mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
24 lines
653 B
Diff
24 lines
653 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: circl <circl.lastname@gmail.com>
|
|
Date: Sun, 20 Mar 2022 17:13:21 +0100
|
|
Subject: [PATCH] malloc.h doesn't exist on Serenity, but the code only checks
|
|
for macOS and BSDs
|
|
|
|
---
|
|
src/Update.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Update.cpp b/src/Update.cpp
|
|
index 50ef666..5996846 100644
|
|
--- a/src/Update.cpp
|
|
+++ b/src/Update.cpp
|
|
@@ -5,7 +5,7 @@
|
|
#ifndef WIN
|
|
#include <sys/param.h>
|
|
#endif
|
|
-#if !defined(MACOSX) && !defined(BSD)
|
|
+#if !defined(MACOSX) && !defined(BSD) && !defined(__serenity__)
|
|
#include <malloc.h>
|
|
#endif
|
|
#include <cstring>
|