removed include afterimage.h from rxvt.h as redundand - it is included from background.h
authorsasha <sasha>
Fri, 26 Oct 2007 17:26:16 +0000 (17:26 +0000)
committersasha <sasha>
Fri, 26 Oct 2007 17:26:16 +0000 (17:26 +0000)
src/background.h
src/rxvt.h

index 1e12606..378f652 100644 (file)
@@ -6,7 +6,9 @@
 #define BACKGROUND_H_
 
 #ifdef HAVE_AFTERIMAGE
-#  include <afterimage.h>
+# include <afterimage.h>
+# undef min
+# undef max
 #endif
 
 #if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY)
index 8ce467b..1c5ef05 100644 (file)
@@ -75,12 +75,6 @@ typedef char *XPointer;
 #include <termios.h>
 typedef struct termios ttymode_t;
 
-#ifdef HAVE_AFTERIMAGE
-#  include <afterimage.h>
-#undef min
-#undef max
-#endif
-
 #include "background.h"
 
 #ifndef STDIN_FILENO