]> git.stg.codes - stg.git/commitdiff
Missing headers added
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 16 Jun 2011 09:54:26 +0000 (12:54 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 16 Jun 2011 09:54:26 +0000 (12:54 +0300)
projects/stargazer/main.cpp
projects/stargazer/plugins/configuration/rpcconfig/rpcconfig.cpp
projects/stargazer/plugins/other/rscript/rscript.cpp

index 64d1cda28289ed7a8e3ab74003332e6dff75fcb9..5014c5cf18da6057234fd8e9f211c4a534ba93d2 100644 (file)
@@ -35,6 +35,7 @@
 #include <csignal>
 #include <cerrno>
 #include <cstdio>
+#include <cstdlib> // srandom, exit
 #include <fstream>
 #include <vector>
 #include <set>
index a4890e2c36a00a6f905ecbf9e218ce4c7d6f6ec3..c2c544fdd69374e1f194b8d2666a404833bee6dd 100644 (file)
@@ -1,3 +1,5 @@
+#include <unistd.h> // TODO: usleep
+
 #include <cstdlib>
 #include <csignal>
 
index 12c00a402b5c9407253c85742bb50d7494d5fecf..410e7aa8177515242a134b31dae5ff20d234edf8 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <csignal>
 #include <cassert>
+#include <cstdlib>
 #include <algorithm>
 
 #include "stg/common.h"