Also, I get this compilation warning:

af_alg.c: In function ‘afalg_stream’:
af_alg.c:72:56: warning: implicit declaration of function ‘S_TYPEISTMO’ 
[-Wimplicit-function-declaration]
       && (S_ISREG (st.st_mode) || S_TYPEISSHM (&st) || S_TYPEISTMO (&st))
                                                        ^

2018-05-05  Bruno Haible  <br...@clisp.org>

        crypto/{md5,sha1,sha256,sha512}: Fix compilation error (S_TYPEISTMO).
        * modules/crypto/md5 (Depends-on): Add 'sys_stat'.
        * modules/crypto/sha1 (Depends-on): Likewise.
        * modules/crypto/sha256 (Depends-on): Likewise.
        * modules/crypto/sha512 (Depends-on): Likewise.

diff --git a/modules/crypto/md5 b/modules/crypto/md5
index 6fc2477..3a4c756 100644
--- a/modules/crypto/md5
+++ b/modules/crypto/md5
@@ -16,6 +16,7 @@ extern-inline
 stdalign
 stdint
 sys_socket
+sys_stat
 
 configure.ac:
 gl_MD5
diff --git a/modules/crypto/sha1 b/modules/crypto/sha1
index 3ae3ebc..a4d2950 100644
--- a/modules/crypto/sha1
+++ b/modules/crypto/sha1
@@ -16,6 +16,7 @@ extern-inline
 stdalign
 stdint
 sys_socket
+sys_stat
 
 configure.ac:
 gl_SHA1
diff --git a/modules/crypto/sha256 b/modules/crypto/sha256
index 79d03bf..4acb27a 100644
--- a/modules/crypto/sha256
+++ b/modules/crypto/sha256
@@ -16,6 +16,7 @@ extern-inline
 stdalign
 stdint
 sys_socket
+sys_stat
 
 configure.ac:
 gl_SHA256
diff --git a/modules/crypto/sha512 b/modules/crypto/sha512
index f08c249..1fa3f36 100644
--- a/modules/crypto/sha512
+++ b/modules/crypto/sha512
@@ -16,6 +16,7 @@ extern-inline
 stdalign
 stdint
 sys_socket
+sys_stat
 u64
 
 configure.ac:


Reply via email to