aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mc/mc-4.6.2/mhl-stdbool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mc/mc-4.6.2/mhl-stdbool.patch')
-rw-r--r--recipes/mc/mc-4.6.2/mhl-stdbool.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/mc/mc-4.6.2/mhl-stdbool.patch b/recipes/mc/mc-4.6.2/mhl-stdbool.patch
new file mode 100644
index 0000000000..43ada3508f
--- /dev/null
+++ b/recipes/mc/mc-4.6.2/mhl-stdbool.patch
@@ -0,0 +1,16 @@
+Index: mc-4.6.2/mhl/types.h
+===================================================================
+--- mc-4.6.2.orig/mhl/types.h 2009-02-01 19:30:21.000000000 +0000
++++ mc-4.6.2/mhl/types.h 2009-02-22 16:45:06.000000000 +0000
+@@ -7,10 +7,6 @@
+ #ifndef __MHL_TYPES_H
+ #define __MHL_TYPES_H
+
+-typedef enum
+-{
+- false = 0,
+- true = 1
+-} bool;
++#include <stdbool.h>
+
+ #endif