SIGTERM and SIGPIPE are used but undefined.
diff --git a/source3/printing/samba-bgqd.c b/source3/printing/samba-bgqd.c
index 8ac6ec5..09a5d12 100644
--- a/source3/printing/samba-bgqd.c
+++ b/source3/printing/samba-bgqd.c
@@ -41,6 +41,7 @@
 #include "source3/auth/proto.h"
 #include "source3/printing/queue_process.h"
 #include "source3/lib/substitute.h"
+#include <signal.h>
 
 static void watch_handler(struct tevent_req *req)
 {
