summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/configure.ac1
-rw-r--r--server/util/signal.c1
-rw-r--r--server/util/signal.m41
3 files changed, 3 insertions, 0 deletions
diff --git a/server/configure.ac b/server/configure.ac
index 902f6047..8a4ab4ac 100644
--- a/server/configure.ac
+++ b/server/configure.ac
@@ -34,6 +34,7 @@ m4_include(libpopt.m4)
m4_include(libtalloc.m4)
m4_include(libtdb.m4)
m4_include(libevents.m4)
+m4_include(util/signal.m4)
AC_SUBST(TESTS)
AC_SUBST(EXTRA_OBJ)
diff --git a/server/util/signal.c b/server/util/signal.c
index e4a782da..5d036a37 100644
--- a/server/util/signal.c
+++ b/server/util/signal.c
@@ -18,6 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include "util/util.h"
#include <sys/types.h>
#include <sys/wait.h>
diff --git a/server/util/signal.m4 b/server/util/signal.m4
new file mode 100644
index 00000000..c6d7f72f
--- /dev/null
+++ b/server/util/signal.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(sigprocmask sigblock sigaction)