[vlc-devel] OpenBSD build fix

Rémi Denis-Courmont rem at videolan.org
Tue Apr 21 17:35:03 CEST 2009


Le mardi 21 avril 2009, Joris van Rooij a écrit :
> Greetings,
> Joris
> openbsd-vlc.diff

> AC_CHECK_HEADERS([net/if.h], [], [],
>   [
>+    #include <stdlib.h>
>     #include <sys/socket.h>
>   ])
> if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then

<stdlib.h> looks odd. <sys/types.h> perhaps?

>-#include <sys/soundcard.h>
>+#ifdef HAVE_SYS_SOUNDCARD_H
>+#  include <sys/soundcard.h>
>+#endif
>+#ifdef HAVE_MACHINE_SOUNDCARD_H
>+#  include <machine/soundcard.h>
>+#endif
>+#ifdef HAVE_SOUNDCARD_H
>+#  include <soundcard.h>
>+#endif

Hmm, I thought machine/ was for internal headers?

>diff --git a/po/Makefile.in.in b/po/Makefile.in.in
>index fecf500..19f5a07 100644
>--- a/po/Makefile.in.in
>+++ b/po/Makefile.in.in

This file is automatically generated, you cannot patch it.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list