summaryrefslogtreecommitdiffstats
path: root/src/operations.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2016-01-11 08:24:37 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-01-13 22:23:29 +0100
commit055621d3a2aefceb6427a4a67fd00be146fe7193 (patch)
tree1aa2ccddc7dfa82e0769152fd03920f2d35433c3 /src/operations.c
parentf36a762168726fc79529906b5a14a65836f7f609 (diff)
download0xFFFF-055621d3a2aefceb6427a4a67fd00be146fe7193.tar.bz2
all: free() is defined in stdlib.h
Without including <stdlib.h> newer gcc releases throw warnings about undefined free().
Diffstat (limited to 'src/operations.c')
-rw-r--r--src/operations.c2
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h>
+
#include "global.h"
#include "device.h"
#include "usb-device.h"