mirror of
https://github.com/troglobit/editline.git
synced 2025-05-05 20:11:12 +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_
|
||||
#define EDITLINE_H_
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Handy macros when binding keys. */
|
||||
#define CTL(x) ((x) & 0x1F)
|
||||
#define ISCTL(x) ((x) && (x) < ' ')
|
||||
|
Loading…
Reference in New Issue
Block a user