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

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

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Bjoern D. Rasmussen 2015-05-10 07:51:29 +02:00 committed by Matt Caswell
parent 14def5f537
commit 8f744cceff

View File

@ -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