all: free() is defined in stdlib.h
Without including <stdlib.h> newer gcc releases throw warnings about undefined free().
This commit is contained in:
1 parent
f36a762168
commit
055621d3a2
2 files changed
+3
No files matched your search
@@ -19,6 +19,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <libgen.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "global.h"
|
||||
#include "device.h"
|
||||
#include "usb-device.h"
|
||||
|
||||
Reference in new issue
Block a user