vlc | branch: master | Felix Paul Kühne <fkue...@videolan.org> | Thu Nov 5 23:37:52 2015 +0100| [c589758c44befea20cae0fca4224eb7c80fb933f] | committer: Felix Paul Kühne
vlc_common.h: add Darwin include for PATH_MAX > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c589758c44befea20cae0fca4224eb7c80fb933f --- include/vlc_common.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/vlc_common.h b/include/vlc_common.h index 57f3cb7..786f349 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -400,6 +400,11 @@ typedef enum # include <windows.h> #endif +#ifdef __APPLE__ +#include <sys/syslimits.h> +#include <AvailabilityMacros.h> +#endif + #ifdef __OS2__ # define OS2EMX_PLAIN_CHAR # define INCL_BASE @@ -813,9 +818,6 @@ static inline void SetQWLE (void *p, uint64_t qw) VLC_API bool vlc_ureduce( unsigned *, unsigned *, uint64_t, uint64_t, uint64_t ); /* Aligned memory allocator */ -#ifdef __APPLE__ -#include <AvailabilityMacros.h> -#endif #ifdef __MINGW32__ # define vlc_memalign(align, size) (__mingw_aligned_malloc(size, align)) _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits