oculus2
changeset 14:8a80bb153582
moved X11 includes to the linux ifdef block
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 28 Oct 2014 07:00:17 +0200 |
parents | 4c08bc24ef0a |
children | 0888d4e24e21 |
files | src/main.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/src/main.c Tue Oct 28 06:57:31 2014 +0200 1.2 +++ b/src/main.c Tue Oct 28 07:00:17 2014 +0200 1.3 @@ -11,8 +11,6 @@ 1.4 #include <assert.h> 1.5 #include <SDL2/SDL.h> 1.6 #include <GL/glew.h> 1.7 -#include <X11/Xlib.h> 1.8 -#include <GL/glx.h> 1.9 1.10 #ifdef WIN32 1.11 #define OVR_OS_WIN32 1.12 @@ -20,6 +18,8 @@ 1.13 #define OVR_OS_MAC 1.14 #else 1.15 #define OVR_OS_LINUX 1.16 +#include <X11/Xlib.h> 1.17 +#include <GL/glx.h> 1.18 #endif 1.19 1.20 #include <OVR_CAPI.h>