missing macros.h include
authorRobert Swiecki <robert@swiecki.net>
Thu, 12 Apr 2018 21:49:10 +0000 (23:49 +0200)
committerRobert Swiecki <robert@swiecki.net>
Thu, 12 Apr 2018 21:49:10 +0000 (23:49 +0200)
Makefile
contain.cc
logs.cc

index dfc49c05337cf6e527cc8ef37ebe8c2e0d11af82..34bc6f1680769d48549c5e5e502034df6af52959 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,10 +108,10 @@ cmdline.o: cmdline.h nsjail.h logs.h caps.h config.h macros.h mnt.h user.h
 cmdline.o: util.h
 config.o: caps.h nsjail.h logs.h cmdline.h config.h config.pb.h macros.h
 config.o: mnt.h user.h util.h
-contain.o: contain.h nsjail.h logs.h caps.h cgroup.h cpu.h mnt.h net.h pid.h
-contain.o: user.h uts.h
+contain.o: contain.h nsjail.h logs.h caps.h cgroup.h cpu.h macros.h mnt.h
+contain.o: net.h pid.h user.h uts.h
 cpu.o: cpu.h nsjail.h logs.h util.h
-logs.o: logs.h util.h nsjail.h
+logs.o: logs.h macros.h util.h nsjail.h
 mnt.o: mnt.h nsjail.h logs.h macros.h subproc.h util.h
 net.o: net.h nsjail.h logs.h subproc.h
 nsjail.o: nsjail.h logs.h cmdline.h macros.h net.h sandbox.h subproc.h util.h
index 525c045232e1da423ca2d13a6cd9a3c10496152f..c4beeeda885ab4ebb6ebbc6c3478cb2321757bf7 100644 (file)
@@ -42,6 +42,7 @@
 #include "cgroup.h"
 #include "cpu.h"
 #include "logs.h"
+#include "macros.h"
 #include "mnt.h"
 #include "net.h"
 #include "pid.h"
diff --git a/logs.cc b/logs.cc
index 06ffd8ee01c366295138524ddfbb2e0d6c7571d7..dcfb9b62f67d3ad698bfe28be504837be3258a5b 100644 (file)
--- a/logs.cc
+++ b/logs.cc
@@ -35,6 +35,7 @@
 #include <time.h>
 #include <unistd.h>
 
+#include "macros.h"
 #include "util.h"
 
 #include <string.h>