summaryrefslogtreecommitdiff
path: root/Ports/openssh/patches/missing_stdio.patch
blob: 7a2ca5a618ab78e6c16336b83ef8cc13cedae730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
87fc789d2db19db2a65cbf45b53afde5722ad1af Add missing stdio include in bsd-flock
diff --git a/openbsd-compat/bsd-flock.c b/openbsd-compat/bsd-flock.c
index 9b15d1ea..bf57389a 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)
 {