Bug 493053 - include dvb/audio.h contains wrong type
Summary: include dvb/audio.h contains wrong type
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-31 13:42 UTC by Felix Kaechele
Modified: 2013-07-04 22:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-07 17:26:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Felix Kaechele 2009-03-31 13:42:22 UTC
I'm getting the error
/usr/include/linux/dvb/audio.h:79: error: 'uint16_t' does not name a type
while trying to compile the dxr3 plugin for VDR.
This seems to be a bug in the kernel headers.

Comment 1 Kyle McMartin 2009-04-07 17:26:53 UTC
Fixed upstream in 2.6.30, adding patch to F-11/F-10 to fix it.

Comment 2 Kyle McMartin 2009-04-07 17:29:10 UTC
commit 9adfbfb611307060db54691bc7e6d53fdc12312b
Author: Arnd Bergmann <arnd>
Date:   Thu Feb 26 00:51:40 2009 +0100

    make most exported headers use strict integer types
    
    This takes care of all files that have only a small number
    of non-strict integer type uses.
    
    Signed-off-by: Arnd Bergmann <arnd>
    Cc: Mauro Carvalho Chehab <mchehab>
    Cc: David Airlie <airlied>
    Cc: Arnaldo Carvalho de Melo <acme>
    Cc: YOSHIFUJI Hideaki <yoshfuji>
    Cc: netdev.org
    Cc: linux-ppp.org
    Cc: Jaroslav Kysela <perex>
    Cc: Takashi Iwai <tiwai>
    Cc: David Woodhouse <dwmw2>
    Signed-off-by: H. Peter Anvin <hpa.com>
    Signed-off-by: Ingo Molnar <mingo>

--- a/include/linux/dvb/audio.h
+++ b/include/linux/dvb/audio.h
@@ -76,7 +76,7 @@ struct audio_karaoke{  /* if Vocal1 or Vocal2 are non-zero, they get mixed  */
 } audio_karaoke_t;     /* into left and right  */
 
 
-typedef uint16_t audio_attributes_t;
+typedef __u16 audio_attributes_t;
 /*   bits: descr. */
 /*   15-13 audio coding mode (0=ac3, 2=mpeg1, 3=mpeg2ext, 4=LPCM, 6=DTS, */
 /*   12    multichannel extension */


Note You need to log in before you can comment on or make changes to this bug.