]> git.stg.codes - stg.git/commitdiff
Include fcntl.h for creat in main.cpp
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 14:47:55 +0000 (17:47 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 14:47:55 +0000 (17:47 +0300)
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>