From: Juanma Barranquero Date: Fri, 25 Oct 2002 06:49:15 +0000 (+0000) Subject: [!HAVE_X_WINDOWS]: Define XColor. X-Git-Tag: ttn-vms-21-2-B4~12729 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94e32607840a58fe56afa80801915607bf168125;p=emacs.git [!HAVE_X_WINDOWS]: Define XColor. --- 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