Commit 4982e527 authored by Simon Butcher's avatar Simon Butcher

Adds stdlib.h header to dh_genprime sample app

Use of the atoi() function requires stdlib.h to be included when
MBEDTLS_PLATFORM_C is not defined.
parent cdb3ad03
......@@ -29,6 +29,7 @@
#include "mbedtls/platform.h"
#else
#include <stdio.h>
#include <stdlib.h>
#define mbedtls_printf printf
#define mbedtls_time_t time_t
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment