Bug 783583 - readline.h uses FILE but doesn't define it.
Summary: readline.h uses FILE but doesn't define it.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: readline
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Nykrýn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-20 22:31 UTC by Alon Levy
Modified: 2014-08-04 22:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 17:13:36 UTC
Type: ---


Attachments (Terms of Use)

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.


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