From 0227ace9d082b726fd0fbed563900cebc2bcf17a Mon Sep 17 00:00:00 2001 From: sasha Date: Fri, 26 Oct 2007 17:26:16 +0000 Subject: [PATCH] removed include afterimage.h from rxvt.h as redundand - it is included from background.h --- src/background.h | 4 +++- src/rxvt.h | 6 ------ 2 files changed, 3 insertions(+), 7 deletions(-) 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 -- 2.34.1