From 402189ba1437d380e4836ecdba6940bf37fe7894 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 10 Dec 2013 00:46:06 +0100 Subject: [PATCH] Fixed pthread.h not included by GLX header. --- README.md | 2 ++ src/glx_context.c | 1 - src/glx_platform.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ef8b7fa..9e7ce539 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,8 @@ guide in the GLFW documentation. - [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2 - [X11] Bugfix: The position of hidden windows was ignored by Metacity and Compiz + - [X11] Bugfix: The `pthread.h` header was not included by the GLX platform + header. ## Contact diff --git a/src/glx_context.c b/src/glx_context.c index 47ae653f..6b87000d 100644 --- a/src/glx_context.c +++ b/src/glx_context.c @@ -30,7 +30,6 @@ #include #include #include -#include // This is the only glXGetProcAddress variant not declared by glxext.h diff --git a/src/glx_platform.h b/src/glx_platform.h index 74e60a81..4b133a2d 100644 --- a/src/glx_platform.h +++ b/src/glx_platform.h @@ -41,6 +41,8 @@ #include #endif +#include + // We support four different ways for getting addresses for GL/GLX // extension functions: glXGetProcAddress, glXGetProcAddressARB, // glXGetProcAddressEXT, and dlsym