Skip to content

Commit 3250e19

Browse files
committed
Use of portable stdlib.h include for malloc function.
1 parent a966d2c commit 3250e19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NvmFlash.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
///////////////////////////////////////////////////////////////////////////////
1919

2020
#include <stdint.h>
21-
#include <malloc.h>
21+
#include <stdio.h>
22+
#include <stdlib.h>
2223
#include <memory>
2324
#include <iostream>
2425
#include <exception>

0 commit comments

Comments
 (0)