We must #include <signal.h> for sigprocmask(2). Failure to do so will break

on NetBSD kernel without COMPAT_13 option.

Change-Id: Ia710bbe31ed48e4df4cd47f99e335d7226b99173
BUG: 2923
Reviewed-on: http://review.gluster.com/594
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@gluster.com>
This commit is contained in:
Emmanuel Dreyfus 2011-10-16 08:06:18 +02:00 committed by Anand Avati
parent 79c379c70c
commit 3f1092c1a7

View File

@ -20,6 +20,7 @@
#include <fcntl.h>
#include <errno.h>
#include <dirent.h>
#include <signal.h>
#ifndef __NetBSD__
#include <mntent.h>
#endif /* __NetBSD__ */