diff --exclude='*.o' -Nru xmbdfed-4.7.vanilla/setup.c xmbdfed-4.7/setup.c --- xmbdfed-4.7.vanilla/setup.c 2006-01-21 18:46:10.000000000 +0100 +++ xmbdfed-4.7/setup.c 2006-01-21 18:50:05.000000000 +0100 @@ -27,6 +27,8 @@ #endif #endif +#define ___gentoo_gcc4 + #include #include #include diff --exclude='*.o' -Nru xmbdfed-4.7.vanilla/xmbdfed.h xmbdfed-4.7/xmbdfed.h --- xmbdfed-4.7.vanilla/xmbdfed.h 2006-01-21 18:46:10.000000000 +0100 +++ xmbdfed-4.7/xmbdfed.h 2006-01-21 18:52:10.000000000 +0100 @@ -280,7 +280,9 @@ extern XtAppContext app; extern Boolean yes_no_answer; extern Boolean yes_no_done; +#ifndef ___gentoo_gcc4 extern unsigned long active_editor; +#endif extern String app_name; extern String app_class; extern char title[];