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 70e833b..9e033f7 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