[sheepdog] [PATCH] lib/work: fix compiler warning

Ruoyu liangry at ucweb.com
Mon Apr 13 08:35:02 CEST 2015


This patch fixes the compiler warning message as below.

warning: implicit declaration of function ‘install_sighandler’
[-Wimplicit-function-declaration]

Signed-off-by: Ruoyu <liangry at ucweb.com>
---
 lib/work.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/work.c b/lib/work.c
index 14e3117..01f9d73 100644
--- a/lib/work.c
+++ b/lib/work.c
@@ -27,6 +27,7 @@
 #include <linux/types.h>
 #include <signal.h>
 
+#include "common.h"
 #include "list.h"
 #include "util.h"
 #include "bitops.h"
-- 
1.8.3.2





More information about the sheepdog mailing list