[dvblast-devel] [PATCH 3/4] Include stddef.h where ptrdiff_t is needed.

Georgi Chorbadzhiyski gf at unixsol.org
Fri Aug 24 00:38:52 CEST 2012


---
 comm.c    | 1 +
 demux.c   | 1 +
 en50221.c | 1 +
 en50221.h | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/comm.c b/comm.c
index f2bd0f4..3b57854 100644
--- a/comm.c
+++ b/comm.c
@@ -17,6 +17,7 @@
 #include <unistd.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/demux.c b/demux.c
index e3436f3..909225b 100644
--- a/demux.c
+++ b/demux.c
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <string.h>
 #include <stdarg.h>
 #include <inttypes.h>
diff --git a/en50221.c b/en50221.c
index 26351ed..0724fb3 100644
--- a/en50221.c
+++ b/en50221.c
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
diff --git a/en50221.h b/en50221.h
index dcfadb1..c83b06f 100644
--- a/en50221.h
+++ b/en50221.h
@@ -12,7 +12,7 @@
  * http://sam.zoy.org/wtfpl/COPYING for more details.
  *****************************************************************************/
 
-#include <malloc.h>
+#include <stddef.h>
 
 typedef void * access_t;
 
-- 
1.7.11.1



More information about the dvblast-devel mailing list