1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:07:44 +00:00

Ports: Update ninja's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:55 +04:30 committed by Ali Mohammad Pur
parent 59156d0f0e
commit e16272eacd
6 changed files with 82 additions and 27 deletions

View file

@ -0,0 +1,24 @@
From e692da2de8cbe09141e080499e0d7627d1b69b24 Mon Sep 17 00:00:00 2001
From: Nico Weber <thakis@chromium.org>
Date: Sun, 21 Jun 2020 18:41:01 -0400
Subject: [PATCH 3/3] Include unistd.h for stat()
---
src/disk_interface.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/disk_interface.cc b/src/disk_interface.cc
index 49af001..cb1fad5 100644
--- a/src/disk_interface.cc
+++ b/src/disk_interface.cc
@@ -21,6 +21,7 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <unistd.h>
#ifdef _WIN32
#include <sstream>
--
2.36.1