Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.

Originally committed as revision 14852 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 0da49fca79
commit e9d4b8a533
  1. 1
      libavdevice/v4l.c
  2. 1
      libavdevice/v4l2.c

@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#undef __STRICT_ANSI__ //workaround due to broken kernel headers
#include "config.h"
#include "libavformat/avformat.h"
#include "libavcodec/dsputil.h"

@ -27,6 +27,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#undef __STRICT_ANSI__ //workaround due to broken kernel headers
#include "config.h"
#include "libavformat/avformat.h"
#include <unistd.h>

Loading…
Cancel
Save