[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] readline/readline.h isn't self-sufficient and fails w
From: |
John Darrington |
Subject: |
Re: [Bug-readline] readline/readline.h isn't self-sufficient and fails when included alone |
Date: |
Sun, 13 Oct 2019 20:22:04 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Sun, Oct 13, 2019 at 02:15:50PM -0400, Chet Ramey wrote:
Yes, as documented, you need to include <stdio.h> before <readline.h>.
I've never really understood why libraries do that. If stdio.h is
necessary for the correct compilation of readline.h, then why not have
readline.h itself include stdio.h ??
A nanosecond or so longer compilation time?