mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 19:10:09 +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:
@@ -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) < ' ')
|
||||
|
Reference in New Issue
Block a user