aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/bktr.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-13 09:16:12 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-13 09:16:12 +0000
commiteb857782e70dc467d39339b9375516dd904c3915 (patch)
tree5935d414a9426a0be380a3c481b4f955dbe43460 /libavdevice/bktr.c
parentde40eb8df2adef3aea77adac615493b159cb0205 (diff)
downloadffmpeg-eb857782e70dc467d39339b9375516dd904c3915.tar.gz
Define _BSD_SOURCE in bktr.c, dev/ic/bt8xx.h needs the u_short etc. typedefs,
which sys/types.h will not generate without this. Originally committed as revision 16089 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r--libavdevice/bktr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 7b37f11159..ea9a6e25e1 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -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>