]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
A bit better Makefile
[stg.git] / projects / stargazer / main.cpp
index 26176bfca34150e1d6cb02fa9774f901887c379d..6bbd7b9d6b62393026356f3bcad728494130fd2a 100644 (file)
  $Author: faust $
  */
 
  $Author: faust $
  */
 
-/*#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>*/
 #include <unistd.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-/*#include <sys/stat.h>
-#include <dlfcn.h>
-#include <fcntl.h>*/
+#include <sys/stat.h> // S_IRUSR
+#include <fcntl.h> // create
 
 #include <csignal>
 #include <cerrno>
 
 #include <csignal>
 #include <cerrno>
+#include <cstdio>
 #include <fstream>
 #include <vector>
 #include <set>
 #include <fstream>
 #include <vector>
 #include <set>