]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Include fcntl.h for creat in main.cpp
[stg.git] / projects / stargazer / main.cpp
index 15641781dcef19611e6d5fbcda98b20cfa10d9e5..6bbd7b9d6b62393026356f3bcad728494130fd2a 100644 (file)
@@ -29,7 +29,8 @@
 #include <sys/msg.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <sys/stat.h>
+#include <sys/stat.h> // S_IRUSR
+#include <fcntl.h> // create
 
 #include <csignal>
 #include <cerrno>