summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2011-10-16 08:06:18 +0200
committerAnand Avati <avati@gluster.com>2011-11-23 23:49:46 -0800
commit3f1092c1a79adefd4400bfb6fd20029a22b0f827 (patch)
tree7283db4a420ed357ce20136a6adcbbea5c07cf38
parent79c379c70ced3fd8a487cf007ba6c82b0773fb9a (diff)
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>
-rw-r--r--contrib/fuse-lib/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fuse-lib/mount.c b/contrib/fuse-lib/mount.c
index ef89f0ea1..800fd193e 100644
--- a/contrib/fuse-lib/mount.c
+++ b/contrib/fuse-lib/mount.c
@@ -20,6 +20,7 @@
#include <fcntl.h>
#include <errno.h>
#include <dirent.h>
+#include <signal.h>
#ifndef __NetBSD__
#include <mntent.h>
#endif /* __NetBSD__ */