From b74ed85a0c2600e22c3e3eee5cf92314d2b37cb8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 18 Nov 2012 14:27:50 +0000 Subject: [PATCH] iscsi-scst: Fix recently introduced compiler warnings Fix the following two compiler warnings: chap.c: In function 'chap_rand': chap.c:347:5: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] chap.c:348:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4623 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/usr/chap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iscsi-scst/usr/chap.c b/iscsi-scst/usr/chap.c index 227a372dc..fc709de21 100644 --- a/iscsi-scst/usr/chap.c +++ b/iscsi-scst/usr/chap.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "sha1.h" #include "md5.h"