# HG changeset patch # User John Tsiombikas <nuclear@member.fsf.org> # Date 1414472417 -7200 # Node ID 8a80bb1535825295a57d200998cef6cf3b258c3d # Parent 4c08bc24ef0ac67c24b7f5adc4864da79c1d0a88 moved X11 includes to the linux ifdef block diff -r 4c08bc24ef0a -r 8a80bb153582 src/main.c --- a/src/main.c Tue Oct 28 06:57:31 2014 +0200 +++ b/src/main.c Tue Oct 28 07:00:17 2014 +0200 @@ -11,8 +11,6 @@ #include <assert.h> #include <SDL2/SDL.h> #include <GL/glew.h> -#include <X11/Xlib.h> -#include <GL/glx.h> #ifdef WIN32 #define OVR_OS_WIN32 @@ -20,6 +18,8 @@ #define OVR_OS_MAC #else #define OVR_OS_LINUX +#include <X11/Xlib.h> +#include <GL/glx.h> #endif #include <OVR_CAPI.h>