Commit 8f744cce authored by Bjoern D. Rasmussen's avatar Bjoern D. Rasmussen Committed by Matt Caswell
Browse files

Fix for memcpy() and strcmp() being undefined.



clang says: "s_cb.c:958:9: error: implicitly declaring library function
'memcpy'"

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 14def5f5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h> /* for memcpy() and strcmp() */
#define USE_SOCKETS
#include "apps.h"
#undef USE_SOCKETS