X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_codecs.h;h=d217470698da1c63f28cc03f65f09a39bcd8915a;hb=fa61862474c332412e0341d98f1cf82c067d277a;hp=ea421ed34c7a4389a506f4c9eb5193db2c7d4552;hpb=311e5e3ab7ee5981eaf187565472c0b942c7bc79;p=vlc diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h index ea421ed34c..d217470698 100644 --- a/include/vlc_codecs.h +++ b/include/vlc_codecs.h @@ -21,13 +21,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#if !defined( __LIBVLC__ ) - #error You are not libvlc or one of its plugins. You cannot include this file -#endif - #ifndef _VLC_CODECS_H #define _VLC_CODECS_H 1 +#ifdef HAVE_ATTRIBUTE_PACKED +# define ATTR_PACKED __attribute__((__packed__)) +#else +# error FIXME +#endif + /* Structures exported to the demuxers and decoders */ #if !(defined _GUID_DEFINED || defined GUID_DEFINED)