[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: |
Chet Ramey |
Subject: |
Re: [Bug-readline] readline/readline.h isn't self-sufficient and fails when included alone |
Date: |
Sun, 13 Oct 2019 14:15:50 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/13/19 11:58 AM, Yuri wrote:
> Compiling this on FreeBSD 12 fails:
>
> #include <readline/readline.h>
> #include <readline/history.h>
Yes, as documented, you need to include <stdio.h> before <readline.h>.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/