[dvblast-devel] Include stddef.h where ptrdiff_t is needed.

Georgi Chorbadzhiyski git at videolan.org
Sat Aug 25 01:08:36 CEST 2012


dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Thu Aug 23 21:00:58 2012 +0300| [f19224d549c3906ca2ec825b675dfb4631ac21a7] | committer: Georgi Chorbadzhiyski

Include stddef.h where ptrdiff_t is needed.

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=f19224d549c3906ca2ec825b675dfb4631ac21a7
---

 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;
 



More information about the dvblast-devel mailing list