Add stdlib.h header where applicable (where we call malloc() / free()).
Reported by: tinderbox
This commit is contained in:
parent
aa7d7171c8
commit
e0fab1c9a7
@ -25,6 +25,8 @@
|
||||
Thanks to d18c7db and Okko for example code
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../drivers.h"
|
||||
#include <nfc/nfc-messages.h>
|
||||
|
||||
|
||||
@ -25,6 +25,8 @@
|
||||
Thanks to d18c7db and Okko for example code
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../drivers.h"
|
||||
#include <nfc/nfc-messages.h>
|
||||
|
||||
|
||||
@ -27,6 +27,7 @@ Thanks to d18c7db and Okko for example code
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <usb.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user