Prevent GL/glx.h from defining prototypes

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-09 00:36:14 +00:00
parent 4c99ecfde4
commit 136ce7c9e8
12 changed files with 10 additions and 13 deletions

View File

@ -12,7 +12,6 @@
#include <xcb/damage.h>
#include <xcb/render.h>
#include <pixman.h>
#include <GL/glx.h>
#include "utils.h"
#include "region.h"
@ -20,6 +19,7 @@
#include "common.h"
#include "x.h"
#include "log.h"
#include "backend/gl/glx.h"
/**
* Get a specific attribute of a window.