summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2021-12-12 10:27:42 +0100
committerVolker Lendecke <vl@samba.org>2021-12-13 16:22:28 +0000
commit1dc803048f8f0069079142245ec5ac4c11933bff (patch)
tree6270e786896860aeb2b737c7b68e329cf7b7e40e /lib
parentb5e7e7b65ae3251e128bbb41e7bbd0bfaeef4c7b (diff)
downloadsamba-1dc803048f8f0069079142245ec5ac4c11933bff.tar.gz
lib/util: Add signal.h include
Fixes build error with samba-4.15.3 and uClibc: ../../source3/printing/samba-bgqd.c: In function ‘main’: ../../source3/printing/samba-bgqd.c:340:21: error: ‘SIGPIPE’ undeclared (first use in this function); did you mean ‘EPIPE’? ../../source3/printing/samba-bgqd.c:384:14: error: ‘SIGTERM’ undeclared (first use in this function) Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Dec 13 16:22:28 UTC 2021 on sn-devel-184
Diffstat (limited to 'lib')
-rw-r--r--lib/util/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/signal.h b/lib/util/signal.h
index 0663af6ab94..f662ee110d6 100644
--- a/lib/util/signal.h
+++ b/lib/util/signal.h
@@ -21,6 +21,7 @@
#ifndef _SAMBA_UTIL_SIGNAL_H_
#define _SAMBA_UTIL_SIGNAL_H_
+#include <signal.h>
#include <stdbool.h>
/**