From: Maxim Mamontov <faust.madf@gmail.com>
Date: Mon, 4 Apr 2011 14:39:39 +0000 (+0300)
Subject: Include sys/stat.h in main.cpp for S_IRUSR on FreeBSD
X-Git-Tag: 2.407-rc3~95
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ad490714c7cfe5eb3bb9bf043d08e5efe6107bf3?ds=sidebyside

Include sys/stat.h in main.cpp for S_IRUSR on FreeBSD
---

diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp
index 203c6c4e..15641781 100644
--- a/projects/stargazer/main.cpp
+++ b/projects/stargazer/main.cpp
@@ -29,6 +29,7 @@
 #include <sys/msg.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 
 #include <csignal>
 #include <cerrno>