[vlc-devel] [PATCH] Fix build error using uClibc by adding sys/types.h

Bernd Kuhls bernd.kuhls at t-online.de
Sat Apr 2 19:36:14 CEST 2016


Am Sat, 02 Apr 2016 19:25:44 +0200 schrieb Jean-Baptiste Kempf:

> On 02 Apr, Bernd Kuhls wrote :
>> he wrote in https://trac.videolan.org/vlc/ticket/16768
>> 
>> "You need to include sys/types.h first."
>> 
>> I tried my very best to find a suitable place for this header, do you
>> have another suggestion I could test?
> 
> The question is more: "should the header include it, or should the
> calling program do it ?", from what I understand.

Hi Jean-Baptiste,

I am sorry, but I do not have the coding skills to understand your 
question. I am merely a user of vlc trying to compile it using buildroot 
and to prepare an update for the vlc package in buildroot in my patch 
series to introduce ffmpeg 3.0 support for buildroot:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/145304

The hint Rémi gave me in the trac ticket was enough for me to fix the 
compile error. Whether this is the real fix or just a plain hack is 
something for you to decide ;)

Regards, Bernd



More information about the vlc-devel mailing list