Browse Source

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
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
e9d4b8a533
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavdevice/v4l.c
  2. +1
    -0
      libavdevice/v4l2.c

+ 1
- 0
libavdevice/v4l.c View File

@@ -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"


+ 1
- 0
libavdevice/v4l2.c View File

@@ -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