From a6d7fd775b71e25fdfde012d867c5af8a6135436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 18 Oct 2014 14:13:53 +0200 Subject: Fix FTBFS on openbsd because conflicting declaration in twin compton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot " --- twin/compton-tde/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'twin/compton-tde/common.h') diff --git a/twin/compton-tde/common.h b/twin/compton-tde/common.h index 8a7bae6d5..fbdf49a89 100644 --- a/twin/compton-tde/common.h +++ b/twin/compton-tde/common.h @@ -389,9 +389,11 @@ typedef void (*f_CopySubBuffer) (Display *dpy, GLXDrawable drawable, int x, int #ifdef CONFIG_GLX_SYNC // Looks like duplicate typedef of the same type is safe? +#ifndef __OpenBSD__ typedef int64_t GLint64; typedef uint64_t GLuint64; typedef struct __GLsync *GLsync; +#endif #ifndef GL_SYNC_FLUSH_COMMANDS_BIT #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -- cgit v1.2.1