always include <string.h> (we do this in various other header files,
authorBodo Möller <bodo@openssl.org>
Tue, 18 Jun 2002 09:36:02 +0000 (09:36 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 18 Jun 2002 09:36:02 +0000 (09:36 +0000)
so it can't be bad)

crypto/des/des_locl.h

index 70e833be3f65c9e87c49b78aae5fefdb24792517..9e033f7c2e9a87ae3ab935106d9411a808c12e2b 100644 (file)
@@ -69,6 +69,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #ifndef OPENSSL_SYS_MSDOS
 #if !defined(OPENSSL_SYS_VMS) || defined(__DECC)
 #include <io.h>
 #endif
 
-#if defined(__STDC__) || defined(OPENSSL_SYS_VMS) || defined(M_XENIX) || defined(OPENSSL_SYS_MSDOS)
-#include <string.h>
-#endif
-
 #ifdef OPENSSL_BUILD_SHLIBCRYPTO
 # undef OPENSSL_EXTERN
 # define OPENSSL_EXTERN OPENSSL_EXPORT