diff options
| author | Juanma Barranquero | 2002-10-25 06:49:15 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-10-25 06:49:15 +0000 |
| commit | 94e32607840a58fe56afa80801915607bf168125 (patch) | |
| tree | 9609880554472a220c452edddacddadfc66b1d4c /src | |
| parent | 10a763e5513a43b4ee5ed80c25327dc546e02f69 (diff) | |
| download | emacs-94e32607840a58fe56afa80801915607bf168125.tar.gz emacs-94e32607840a58fe56afa80801915607bf168125.zip | |
[!HAVE_X_WINDOWS]: Define XColor.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 13 |
1 files changed, 13 insertions, 0 deletions
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. */ | |||
| 25 | #define DISPEXTERN_H_INCLUDED | 25 | #define DISPEXTERN_H_INCLUDED |
| 26 | 26 | ||
| 27 | #ifdef HAVE_X_WINDOWS | 27 | #ifdef HAVE_X_WINDOWS |
| 28 | |||
| 28 | #include <X11/Xlib.h> | 29 | #include <X11/Xlib.h> |
| 29 | #ifdef USE_X_TOOLKIT | 30 | #ifdef USE_X_TOOLKIT |
| 30 | #include <X11/Intrinsic.h> | 31 | #include <X11/Intrinsic.h> |
| 31 | #endif /* USE_X_TOOLKIT */ | 32 | #endif /* USE_X_TOOLKIT */ |
| 33 | |||
| 34 | #else /* !HAVE_X_WINDOWS */ | ||
| 35 | |||
| 36 | /* X-related stuff used by non-X gui code. */ | ||
| 37 | |||
| 38 | typedef struct { | ||
| 39 | unsigned long pixel; | ||
| 40 | unsigned short red, green, blue; | ||
| 41 | char flags; | ||
| 42 | char pad; | ||
| 43 | } XColor; | ||
| 44 | |||
| 32 | #endif /* HAVE_X_WINDOWS */ | 45 | #endif /* HAVE_X_WINDOWS */ |
| 33 | 46 | ||
| 34 | #ifdef MSDOS | 47 | #ifdef MSDOS |