diff options
author | Daniel Elstner <danielk@openismus.com> | 2009-08-13 16:53:02 +0200 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2009-08-13 11:09:31 -0500 |
commit | b6551397eadf8983174d51180ec1b8263848a792 (patch) | |
tree | 72dc56b302ca5026ddade2b65de9ad41436d2db4 /examples/text | |
parent | cbed810a9b06b1ea4a89df4ec448e39ab7280682 (diff) |
Fix left-over cairomm/cairommconfig.h includes
* cairomm/cairomm.h: Remove directory prefix from cairommconfig.h
include statement.
* cairomm/context.cc: Include <cmath> unconditionally instead of
conditionally including <math.h>.
* examples/surfaces/*.cc: ditto,
* examples/text/text-rotate.cc: ditto.
Diffstat (limited to 'examples/text')
-rw-r--r-- | examples/text/text-rotate.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/text/text-rotate.cc b/examples/text/text-rotate.cc index 214ede1..530c2f7 100644 --- a/examples/text/text-rotate.cc +++ b/examples/text/text-rotate.cc @@ -18,7 +18,7 @@ #include <string> #include <iostream> -#include <cairomm/cairommconfig.h> +#include <cairommconfig.h> #include <cairomm/cairomm.h> /* M_PI is defined in math.h in the case of Microsoft Visual C++, and @@ -28,9 +28,7 @@ #define _USE_MATH_DEFINES #endif -#ifdef HAVE_MATH_H -# include <math.h> -#endif +#include <cmath> // This example is based on the C cairo example of the same name |