From 9c483aae104df5fc15d344f3e53cbb2ed68beddb Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Fri, 1 May 2015 22:05:00 +0200 Subject: [PATCH] libobs: Add support for FreeBSD to gs_window Enable the X11 specific members in the gs_window struct when on FreeBSD. --- libobs/graphics/graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/graphics/graphics.h b/libobs/graphics/graphics.h index 4c5188cd5..c50fa5b40 100644 --- a/libobs/graphics/graphics.h +++ b/libobs/graphics/graphics.h @@ -426,7 +426,7 @@ struct gs_window { void *hwnd; #elif defined(__APPLE__) __unsafe_unretained id view; -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD__) /* I'm not sure how portable defining id to uint32_t is. */ uint32_t id; void* display;