Use standard header file string.h for memset prototype (where
authorBodo Möller <bodo@openssl.org>
Sun, 27 Feb 2000 17:37:41 +0000 (17:37 +0000)
committerBodo Möller <bodo@openssl.org>
Sun, 27 Feb 2000 17:37:41 +0000 (17:37 +0000)
"standard" refers to the C language, probably there's also some
standard that defines memory.h).

crypto/rand/rand_egd.c

index b9c028b88a5f03ab19b473a3b97430a581e3cb87..d834408bd4e7579b8be6f7e4fd104641cbce0afb 100644 (file)
@@ -70,7 +70,7 @@ int RAND_egd(const char *path)
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <memory.h>
+#include <string.h>
 
 #ifndef offsetof
 #  define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 
 #ifndef offsetof
 #  define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)