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 dfc49c0..34bc6f1 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 525c045..c4beeed 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 06ffd8e..dcfb9b6 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>