void-packages/srcpkgs/samba/patches/samba-bgqd-include-signal-h...

15 lines
469 B
Diff

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
@@ -40,6 +40,7 @@
#include "source3/lib/util_procid.h"
#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)
{