From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964963AbWEYEOQ (ORCPT ); Thu, 25 May 2006 00:14:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964974AbWEYEOQ (ORCPT ); Thu, 25 May 2006 00:14:16 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:12527 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S964963AbWEYEOP (ORCPT ); Thu, 25 May 2006 00:14:15 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=FNLEzC7NHKXsaohJdXiXOKINio1hybfn52qIPaNauOCY/UnNKKm9bHW2mKgD/3g/5tVfgKEJQf4SghHi7r8MgYY6YeTpSZh7w8plLwfVJxx8zRgIuPnTw1KQiRMTgjowVJa+GStQBJ6ho2vmvsZOP+IvgWtnR85I7GnsROB5dGE= Message-ID: Date: Wed, 24 May 2006 22:14:13 -0600 From: "David Mosberger-Tang" To: "Andrew Morton" , "linux kernel" Subject: trivial videodev2.h patch MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_22851_31516820.1148530453737" X-Google-Sender-Auth: 35b201e54f5ba2dd Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org ------=_Part_22851_31516820.1148530453737 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Andrew, linux/videodev2.h uses types such as __u8 but it fails to include . Within the kernel, that's not a problem because already includes . However, there are user apps that try to include videodev2.h (e.g., ekiga) and at least on ia64, it causes compilation failures since doesn't get included for any other reason, leaving __u8 etc. undefined. The attached patch fixes the problem for me. Thanks, --david -- Mosberger Consulting LLC, http://www.mosberger-consulting.com/ ------=_Part_22851_31516820.1148530453737 Content-Type: text/x-patch; name=videodev2.diff; charset=us-ascii Content-Transfer-Encoding: 7bit X-Attachment-Id: f_enmlcpru Content-Disposition: attachment; filename="videodev2.diff" diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -19,6 +19,7 @@ #include #include #endif +#include #include /* need __user */ ------=_Part_22851_31516820.1148530453737--