OSDN Git Service

Define _BSD_SOURCE in bktr.c, dev/ic/bt8xx.h needs the u_short etc. typedefs,
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 13 Dec 2008 09:16:12 +0000 (09:16 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 13 Dec 2008 09:16:12 +0000 (09:16 +0000)
which sys/types.h will not generate without this.

Originally committed as revision 16089 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/bktr.c

index 7b37f11..ea9a6e2 100644 (file)
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _BSD_SOURCE 1
 #include "libavformat/avformat.h"
 #if defined (HAVE_DEV_BKTR_IOCTL_METEOR_H) && defined (HAVE_DEV_BKTR_IOCTL_BT848_H)
 # include <dev/bktr/ioctl_meteor.h>