summaryrefslogtreecommitdiffstats
path: root/fgetc.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-10-10 22:16:48 +0200
committerpgen <p.gen.progs@gmail.com>2022-10-10 22:16:48 +0200
commitb332fef5c3ce3dce9e85857e8905f7291e0b1a6e (patch)
treeea62851102449e84ae17239b8eec4ff4d03c367a /fgetc.h
parent2548023fc17c2c46e045c58a176a1c452cb83c3f (diff)
Improve byte reading from stdin
Diffstat (limited to 'fgetc.h')
-rw-r--r--fgetc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fgetc.h b/fgetc.h
index eae2f7b..9e2d53b 100644
--- a/fgetc.h
+++ b/fgetc.h
@@ -9,6 +9,8 @@
#ifndef FGETC_H
#define FGETC_H
+#include <errno.h>
+
int
my_fgetc(FILE * input);