Add #include's to fix OpenBSD build.
authorDavin McCall <davmac@davmac.org>
Sat, 3 Feb 2018 16:41:23 +0000 (16:41 +0000)
committerDavin McCall <davmac@davmac.org>
Sat, 3 Feb 2018 16:41:23 +0000 (16:41 +0000)
src/baseproc-service.cc
src/run-child-proc.cc

index e53028cf09e8a8b709545e0b32d7c87152d79cee..2c94204f77eb648c886e86a5933a3393a07e37af 100644 (file)
@@ -1,4 +1,5 @@
 #include <cstring>
+#include <cstdlib>
 
 #include <sys/un.h>
 #include <sys/socket.h>
index c1c43bb88056f2517aa94f500a5f77c3ee22ecad..61b42d27c2859062f9ddf32d2db7aba909f0375f 100644 (file)
@@ -1,3 +1,5 @@
+#include <cstdlib>
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>