From 055621d3a2aefceb6427a4a67fd00be146fe7193 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Mon, 11 Jan 2016 08:24:37 +0100 Subject: all: free() is defined in stdlib.h Without including newer gcc releases throw warnings about undefined free(). --- src/disk.c | 1 + src/operations.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/disk.c b/src/disk.c index f8a51f8..956d67b 100644 --- a/src/disk.c +++ b/src/disk.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include diff --git a/src/operations.c b/src/operations.c index 59bf212..2d26ad5 100644 --- a/src/operations.c +++ b/src/operations.c @@ -17,6 +17,8 @@ */ +#include + #include "global.h" #include "device.h" #include "usb-device.h" -- cgit v1.2.3