Mercurial > octave-nkf
comparison libinterp/corefcn/gl2ps-renderer.cc @ 19682: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 |
comparison
equal
deleted
inserted
replaced
19681:0165d9607624 | 19682:16f21db320b5 |
---|---|
22 | 22 |
23 #ifdef HAVE_CONFIG_H | 23 #ifdef HAVE_CONFIG_H |
24 #include <config.h> | 24 #include <config.h> |
25 #endif | 25 #endif |
26 | 26 |
27 #include "error.h" | |
28 #include "gl2ps-renderer.h" | |
29 | |
27 #ifdef HAVE_GL2PS_H | 30 #ifdef HAVE_GL2PS_H |
28 | 31 |
29 #include <cstdio> | 32 #include <cstdio> |
30 | 33 |
31 #include "lo-mappers.h" | 34 #include "lo-mappers.h" |
32 #include "oct-locbuf.h" | 35 #include "oct-locbuf.h" |
33 #include "unwind-prot.h" | 36 #include "unwind-prot.h" |
34 | 37 |
35 #include "gl2ps-renderer.h" | |
36 #include "gl2ps.h" | 38 #include "gl2ps.h" |
37 #include "sysdep.h" | 39 #include "sysdep.h" |
38 | 40 |
39 void | 41 void |
40 glps_renderer::draw (const graphics_object& go, const std::string print_cmd) | 42 glps_renderer::draw (const graphics_object& go, const std::string print_cmd) |