Add missing includes.
authorDavin McCall <davmac@davmac.org>
Sun, 8 Jul 2018 21:21:50 +0000 (22:21 +0100)
committerDavin McCall <davmac@davmac.org>
Sun, 8 Jul 2018 23:11:07 +0000 (00:11 +0100)
Compilation on Mac OS fails due to these.

src/tests/test-bpsys.cc
src/tests/test-includes/dinit.h

index 4014ac1de37a8c2922dc1c5c24254676750316bc..e2abef9ef43d1a595700020621d18e1491d40e51 100644 (file)
@@ -4,6 +4,7 @@
 #include <map>
 
 #include <cstdlib>
+#include <cerrno>
 
 #include "baseproc-sys.h"
 
index c41c227388dfc6ac1d36697d9c38349de6cfcf0e..55bda59cdf0be4ba002f13ef01c6e61bc7b3b487 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <unordered_set>
 #include <map>
+#include <string>
 
 #include "dasynq.h"