libdvbv5: Add missing headers
authorGregor Jasny <gjasny@googlemail.com>
Fri, 18 May 2012 20:27:19 +0000 (22:27 +0200)
committerGregor Jasny <gjasny@googlemail.com>
Fri, 18 May 2012 20:29:22 +0000 (22:29 +0200)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
lib/libdvbv5/descriptors.c
lib/libdvbv5/dvb-v5-std.c
lib/libdvbv5/dvb-v5.c
lib/libdvbv5/parse_string.c

index 549965a..249ae6d 100644 (file)
@@ -18,7 +18,8 @@
  */
 
 #include <inttypes.h>
-#include <malloc.h>
+#include <stddef.h>
+#include <stdlib.h>
 #include <stdio.h>
 
 #include "dvb-fe.h"
index ec588b1..210f661 100644 (file)
@@ -19,6 +19,7 @@
  * Per-delivery system properties, according with the specs:
  *     http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_SET_PROPERTY.html
  */
+#include <stddef.h>
 
 #include "dvb-v5-std.h"
 #include "dvb-v5.h"
index 7b9760c..b5baebe 100644 (file)
@@ -1,7 +1,10 @@
 /*
  * File auto-generated from the kernel sources. Please, don't edit it
  */
+#include <stddef.h>
+
 #include "dvb-v5.h"
+
 struct fe_caps_name fe_caps_name[30] = {
        { FE_CAN_2G_MODULATION,          "CAN_2G_MODULATION" },
        { FE_CAN_8VSB,                   "CAN_8VSB" },
index f4d45b8..5a118f8 100644 (file)
@@ -23,7 +23,8 @@
  */
 
 #include <iconv.h>
-#include <malloc.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "parse_string.h"