libpayload: Improve compatibility
[coreboot.git] / payloads / libpayload / include / stdio.h
index d39e9f85451f038ebe3d12c8c5e5593e677321f3..924d17e8493aa8e81856415fb91aae803e353777 100644 (file)
@@ -32,6 +32,8 @@
 
 #include <stddef.h>
 
+#define EOF (-1)
+
 typedef struct _FILE FILE;
 
 extern FILE *stdout, *stdin, *stderr;