mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
Include stdio.h from editline.h
Fixes `#include <editline.h>` without first including `<stdio.h>`, which previously errored at the missing typedef for `FILE`.
This commit is contained in:
parent
36e0921c71
commit
f7b58d3c0d
@ -21,6 +21,8 @@
|
|||||||
#ifndef EDITLINE_H_
|
#ifndef EDITLINE_H_
|
||||||
#define EDITLINE_H_
|
#define EDITLINE_H_
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
/* Handy macros when binding keys. */
|
/* Handy macros when binding keys. */
|
||||||
#define CTL(x) ((x) & 0x1F)
|
#define CTL(x) ((x) & 0x1F)
|
||||||
#define ISCTL(x) ((x) && (x) < ' ')
|
#define ISCTL(x) ((x) && (x) < ' ')
|
||||||
|
Loading…
Reference in New Issue
Block a user