mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
libobs-opengl: Make some includes unconditional
Move 3 headers out from the Linux-specific section. Without these headers functions like open, close, drmXx aren't found. * open requires <fcntl.h> * close requres <unistd.h> * drmXx requires <xf86drm.h>
This commit is contained in:
committed by
Ryan Foster
parent
6a7de7ed4f
commit
18ee961210
@@ -17,8 +17,11 @@
|
||||
|
||||
#include "gl-egl-common.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
#include <glad/glad_egl.h>
|
||||
|
||||
@@ -26,9 +29,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/ioctl.h>
|
||||
#include <xf86drm.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
typedef unsigned int drm_handle_t;
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user