Commit aaf004a2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't include stddef without checking for it.

parent c4f5530c
...@@ -102,18 +102,6 @@ typedef uint8_t byte_t; ...@@ -102,18 +102,6 @@ typedef uint8_t byte_t;
#define INT64_MAX (9223372036854775807LL) #define INT64_MAX (9223372036854775807LL)
#endif #endif
/* ptrdiff_t definition */
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#else
# include <malloc.h>
# ifndef _PTRDIFF_T
# define _PTRDIFF_T
/* Not portable in a 64-bit environment. */
typedef int ptrdiff_t;
# endif
#endif
#if defined( WIN32 ) || defined( UNDER_CE ) #if defined( WIN32 ) || defined( UNDER_CE )
# include <malloc.h> # include <malloc.h>
# ifndef PATH_MAX # ifndef PATH_MAX
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
# include "config.h" # include "config.h"
#endif #endif
#include <stddef.h>
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_input.h> #include <vlc_input.h>
#include <vlc_access.h> #include <vlc_access.h>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
# include "config.h" # include "config.h"
#endif #endif
#include <stddef.h>
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_aout.h> #include <vlc_aout.h>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
# include "config.h" # include "config.h"
#endif #endif
#include <stddef.h>
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_aout.h> #include <vlc_aout.h>
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
# include "config.h" # include "config.h"
#endif #endif
#include <stddef.h>
#include <vlc/vlc.h> #include <vlc/vlc.h>
#ifdef HAVE_ALLOCA_H #ifdef HAVE_ALLOCA_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment