On Fri,  6 Jun 2014 13:55:17 +0200 (CEST)
"Nils R" <m...@hxgn.net> wrote:

> My patch below solves it for me, but i only tested on openbsd.

Here's the improved patch without falling back to using "Colour" and
just removing the typedef instead.
Thanks for reporting this issue!

Cheers

FRIGN

-- 
FRIGN <d...@frign.de>
>From c3e7f459b468cbe5f2b7e77d5aa0c304c2d2f41f Mon Sep 17 00:00:00 2001
From: FRIGN <d...@frign.de>
Date: Fri, 6 Jun 2014 14:06:49 +0200
Subject: [PATCH] Remove unnecessary typedef

This should also fix compiling-errors on OpenBSD,
as reported by Nils R. Thanks!
---
 st.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/st.c b/st.c
index 8b65450..3596886 100644
--- a/st.c
+++ b/st.c
@@ -180,7 +180,6 @@ typedef unsigned short ushort;
 
 typedef XftDraw *Draw;
 typedef XftColor Color;
-typedef Colormap Colormap;
 
 typedef struct {
 	char c[UTF_SIZ]; /* character code */
-- 
1.8.5.5

Reply via email to