summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-18 14:13:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-18 14:29:20 +0200
commita6d7fd775b71e25fdfde012d867c5af8a6135436 (patch)
treed97cc6b9c1d4bbdd48c695fc5d79fd9edda1d65b /twin
parent6382ec3fed78026bae46456d10970dd1e4e7c159 (diff)
downloadtdebase-a6d7fd775b71e25fdfde012d867c5af8a6135436.tar.gz
tdebase-a6d7fd775b71e25fdfde012d867c5af8a6135436.zip
Fix FTBFS on openbsd because conflicting declaration in twin compton
Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'twin')
-rw-r--r--twin/compton-tde/common.h2
1 files changed, 2 insertions, 0 deletions
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