Bug 783583

Summary: readline.h uses FILE but doesn't define it.
Product: [Fedora] Fedora Reporter: Alon Levy <alevy>
Component: readlineAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: c.david86, dblechte, lnykryn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-24 17:13:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alon Levy 2012-01-20 22:31:07 UTC
Description of problem:
The following file fails to compile:
#include <readline/readline.h>
int main() { return 0; }

Version-Release number of selected component (if applicable):
6.2-4

How reproducible:
100%

Comment 1 Lukáš Nykrýn 2012-01-24 17:13:36 UTC
According to readline mailing list 
http://lists.gnu.org/archive/html/bug-readline/2008-12/msg00002.html
is every application, which is using readline, responsible for including stdio.h.

In Debian they have patch to add this include in readline.h and history.h, but I want to have Fedora version similar to upstream.