makefile: missing depend on pb.o
authorRobert Swiecki <robert@swiecki.net>
Mon, 25 Sep 2017 18:02:07 +0000 (20:02 +0200)
committerRobert Swiecki <robert@swiecki.net>
Mon, 25 Sep 2017 18:02:07 +0000 (20:02 +0200)
Makefile
contain.h

index 08d7a84..af1e6d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,6 +76,8 @@ ifeq ("$(wildcard kafel/Makefile)","")
 endif
        $(MAKE) -C kafel
 
+$(SRCS_CXX): $(SRCS_PB_O)
+
 $(SRCS_PB_O): $(SRCS_PB_CXX) $(SRCS_PB_H)
 
 $(SRCS_PB_CXX) $(SRCS_PB_H): $(SRCS_PROTO)
index edba108..31c8714 100644 (file)
--- a/contain.h
+++ b/contain.h
@@ -26,7 +26,7 @@
 
 #include "common.h"
 
-bool containSetupFD(struct nsjconf_t *nsjconf, int fd_in, int fd_out, int fd_err);
+bool containSetupFD(struct nsjconf_t * nsjconf, int fd_in, int fd_out, int fd_err);
 bool containContain(struct nsjconf_t *nsjconf);
 
 #endif                         /* NS_CONTAIN_H */