Mercurial > octave
diff libinterp/corefcn/gl2ps-renderer.cc @ 19648:16f21db320b5
Fix compilation error when building without gl2ps
* gl2ps-renderer.h: Unconditionally include graphics.h.
* gl2ps-renderer.cc: Unconditionally include error.h and gl2ps-renderer.h.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sat, 31 Jan 2015 18:41:45 -0500 |
parents | 61cc00ebac60 |
children | 05b40890bbb2 |
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-renderer.cc Sat Jan 31 10:23:52 2015 -0500 +++ b/libinterp/corefcn/gl2ps-renderer.cc Sat Jan 31 18:41:45 2015 -0500 @@ -24,6 +24,9 @@ #include <config.h> #endif +#include "error.h" +#include "gl2ps-renderer.h" + #ifdef HAVE_GL2PS_H #include <cstdio> @@ -32,7 +35,6 @@ #include "oct-locbuf.h" #include "unwind-prot.h" -#include "gl2ps-renderer.h" #include "gl2ps.h" #include "sysdep.h"