gentoo-full-overlay/media-gfx/autotrace/files/autotrace-0.31.1-bool.patch

12 lines
273 B
Diff

--- types.h.old 2011-03-03 13:56:30.000000000 +0000
+++ types.h 2011-03-03 13:59:45.000000000 +0000
@@ -25,6 +25,9 @@
#ifndef bool
typedef enum { false = 0, true = 1 } at_bool;
#else
+#ifdef __ALTIVEC__
+#include <stdbool.h>
+#endif
#define at_bool bool
#endif
#else