Include xparsegeometry_repl.h header on non-X11 targets
authorSylvain Beucler <beuc@beuc.net>
Fri, 9 Mar 2012 21:02:20 +0000 (21:02 +0000)
committerSylvain Beucler <beuc@beuc.net>
Fri, 9 Mar 2012 21:02:20 +0000 (21:02 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1094 7f0cb862-5218-0410-a997-914c9d46530a

src/Common/freeglut_init.c

index 76ec454..0c3e697 100644 (file)
@@ -316,6 +316,10 @@ void fgDeinitialize( void )
 
 /* -- INTERFACE FUNCTIONS -------------------------------------------------- */
 
+#if !TARGET_HOST_POSIX_X11
+#include "Common/xparsegeometry_repl.h"
+#endif
+
 /*
  * Perform initialization. This usually happens on the program startup
  * and restarting after glutMainLoop termination...