summaryrefslogtreecommitdiff
path: root/Ports/openssh/patches/0002-Add-a-missing-stdio.h-include.patch
blob: 9be2c76cb6cc094bf93d442f484988ea06214821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Luke <luke.wilde@live.co.uk>
Date: Sat, 26 Sep 2020 08:12:27 -0700
Subject: [PATCH] Add a missing stdio.h include

---
 openbsd-compat/bsd-flock.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/openbsd-compat/bsd-flock.c b/openbsd-compat/bsd-flock.c
index 9b15d1e..bf57389 100644
--- a/openbsd-compat/bsd-flock.c
+++ b/openbsd-compat/bsd-flock.c
@@ -40,6 +40,10 @@
 #include <errno.h>
 #include <fcntl.h>
 
+#ifdef __serenity__
+#include <stdio.h>
+#endif
+
 int
 flock(int fd, int op)
 {