Commit 8e9d7710 by Daniel Lezcano

fix compilation warning with malloc

Add missing include stdlib.h Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 37c3dfc9
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
*/ */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <libgen.h> #include <libgen.h>
#include <string.h> #include <string.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libgen.h> #include <libgen.h>
#include <unistd.h> #include <unistd.h>
......
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