From: sasha Date: Fri, 26 Oct 2007 17:26:16 +0000 (+0000) Subject: removed include afterimage.h from rxvt.h as redundand - it is included from background.h X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=0227ace9d082b726fd0fbed563900cebc2bcf17a;p=dana%2Furxvt.git removed include afterimage.h from rxvt.h as redundand - it is included from background.h --- diff --git a/src/background.h b/src/background.h index 1e12606f..378f6521 100644 --- a/src/background.h +++ b/src/background.h @@ -6,7 +6,9 @@ #define BACKGROUND_H_ #ifdef HAVE_AFTERIMAGE -# include +# include +# undef min +# undef max #endif #if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY) diff --git a/src/rxvt.h b/src/rxvt.h index 8ce467b6..1c5ef050 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -75,12 +75,6 @@ typedef char *XPointer; #include typedef struct termios ttymode_t; -#ifdef HAVE_AFTERIMAGE -# include -#undef min -#undef max -#endif - #include "background.h" #ifndef STDIN_FILENO