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:
parent
59156d0f0e
commit
e16272eacd
6 changed files with 82 additions and 27 deletions
24
Ports/ninja/patches/0003-Include-unistd.h-for-stat.patch
Normal file
24
Ports/ninja/patches/0003-Include-unistd.h-for-stat.patch
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue