serenity/Ports/ed/patches/fix-ed.patch

13 lines
263 B
Diff
Raw Normal View History

2020-02-01 14:54:04 -05:00
--- ed-1.15/ed.h.orig Sat Feb 1 14:19:01 2020
+++ ed-1.15/ed.h Sat Feb 1 14:19:17 2020
@@ -18,8 +18,7 @@
*/
#ifndef __cplusplus
-enum Bool { false = 0, true = 1 };
-typedef enum Bool bool;
+#include <stdbool.h>
#endif
enum Pflags /* print suffixes */