From 94e32607840a58fe56afa80801915607bf168125 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 25 Oct 2002 06:49:15 +0000 Subject: [PATCH] [!HAVE_X_WINDOWS]: Define XColor. --- src/dispextern.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/dispextern.h b/src/dispextern.h index 173a62c7610..f7d888f6d61 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -25,10 +25,23 @@ Boston, MA 02111-1307, USA. */ #define DISPEXTERN_H_INCLUDED #ifdef HAVE_X_WINDOWS + #include #ifdef USE_X_TOOLKIT #include #endif /* USE_X_TOOLKIT */ + +#else /* !HAVE_X_WINDOWS */ + +/* X-related stuff used by non-X gui code. */ + +typedef struct { + unsigned long pixel; + unsigned short red, green, blue; + char flags; + char pad; +} XColor; + #endif /* HAVE_X_WINDOWS */ #ifdef MSDOS -- 2.39.2