- Functions requiring File System functions can now be disables by undefining POLARSSL_FS_IO

diff --git a/library/sha4.c b/library/sha4.c
index bbb3108..e023237 100644
--- a/library/sha4.c
+++ b/library/sha4.c
@@ -34,7 +34,9 @@
 
 #include "polarssl/sha4.h"
 
+#if defined(POLARSSL_FS_IO) || defined(POLARSSL_SELF_TEST)
 #include <stdio.h>
+#endif
 
 /*
  * 64-bit integer manipulation macros (big endian)
@@ -325,6 +327,7 @@
     memset( &ctx, 0, sizeof( sha4_context ) );
 }
 
+#if defined(POLARSSL_FS_IO)
 /*
  * output = SHA-512( file contents )
  */
@@ -356,6 +359,7 @@
     fclose( f );
     return( 0 );
 }
+#endif /* POLARSSL_FS_IO */
 
 /*
  * SHA-512 HMAC context setup