summaryrefslogtreecommitdiffstats
path: root/src/subprocess.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@mobile-devices.fr>2011-03-22 07:48:16 (GMT)
committerNicolas Despres <nicolas.despres@mobile-devices.fr>2011-03-22 07:48:16 (GMT)
commit52925ea07e4bfd98e6b3febbc0594f5da634f5d3 (patch)
tree8b1c2514425746ad7aa27ab218c263ce29a195c6 /src/subprocess.h
parent269658384e91c3b36ac871ddb2967d41f18db962 (diff)
downloadNinja-52925ea07e4bfd98e6b3febbc0594f5da634f5d3.zip
Ninja-52925ea07e4bfd98e6b3febbc0594f5da634f5d3.tar.gz
Ninja-52925ea07e4bfd98e6b3febbc0594f5da634f5d3.tar.bz2
Add missing CPP guards.
Diffstat (limited to 'src/subprocess.h')
-rw-r--r--src/subprocess.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/subprocess.h b/src/subprocess.h
index 35b7914..acdb625 100644
--- a/src/subprocess.h
+++ b/src/subprocess.h
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifndef NINJA_SUBPROCESS_H_
+#define NINJA_SUBPROCESS_H_
+
#include <string>
#include <vector>
#include <queue>
@@ -54,3 +57,5 @@ struct SubprocessSet {
vector<Subprocess*> running_;
queue<Subprocess*> finished_;
};
+
+#endif // NINJA_SUBPROCESS_H_