1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:38:13 +00:00

Ports: Add OpenSSH port

This commit is contained in:
Luke 2020-09-26 08:12:27 -07:00 committed by Andreas Kling
parent bf809226de
commit 0f52144477
12 changed files with 1417 additions and 0 deletions

View file

@ -0,0 +1,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)
{