From b22d3861772f5374831a8b11a331c217d7bd6066 Mon Sep 17 00:00:00 2001
From: jD91mZM2 <me@krake.one>
Date: Sat, 29 Sep 2018 20:02:23 +0200
Subject: [PATCH] Re-add EOF to bits header

cbindgen can't handle negative numbers, see https://github.com/eqrion/cbindgen/issues/205
---
 include/bits/stdio.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/bits/stdio.h b/include/bits/stdio.h
index 23d913d7..9d4a595d 100644
--- a/include/bits/stdio.h
+++ b/include/bits/stdio.h
@@ -1,6 +1,8 @@
 #ifndef _BITS_STDIO_H
 #define _BITS_STDIO_H
 
+#define EOF (-1)
+
 typedef struct FILE FILE;
 
 int fprintf(FILE * stream, const char * fmt, ...);
-- 
GitLab