From: Bodo Möller <bodo@openssl.org>
Date: Tue, 18 Jun 2002 09:36:02 +0000 (+0000)
Subject: always include <string.h> (we do this in various other header files,
X-Git-Tag: OpenSSL_0_9_6e~26^2~54
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3f2f3d4264a1b237cdad6043fbfdfab6b19d852d;p=oweals%2Fopenssl.git

always include <string.h> (we do this in various other header files,
so it can't be bad)
---

diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index 70e833be3f..9e033f7c2e 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -69,6 +69,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #ifndef OPENSSL_SYS_MSDOS
 #if !defined(OPENSSL_SYS_VMS) || defined(__DECC)
@@ -89,10 +90,6 @@
 #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