$OpenBSD: patch-simgear_misc_sg_path_cxx,v 1.3 2021/07/12 20:52:43 pascal Exp $
Index: simgear/misc/sg_path.cxx
--- simgear/misc/sg_path.cxx.orig
+++ simgear/misc/sg_path.cxx
@@ -33,6 +33,7 @@
 #include <stdio.h>
 #include <sys/stat.h>
 #include <errno.h>
+#include <unistd.h>
 #include <fstream>
 #include <cstdlib>
 
