Browse Source

Merge pull request #574 from LinusU/include-paths

Fix include paths for cairo
v1.x
Nathan Rajlich 10 years ago
parent
commit
d790ecf7bb
  1. 4
      src/Canvas.cc
  2. 2
      src/Canvas.h
  3. 2
      src/PNG.h

4
src/Canvas.cc

@ -12,8 +12,8 @@
#include <string.h>
#include <node_buffer.h>
#include <node_version.h>
#include <cairo/cairo-pdf.h>
#include <cairo/cairo-svg.h>
#include <cairo-pdf.h>
#include <cairo-svg.h>
#include "closure.h"
#ifdef HAVE_JPEG

2
src/Canvas.h

@ -16,7 +16,7 @@
#if HAVE_PANGO
#include <pango/pangocairo.h>
#else
#include <cairo/cairo.h>
#include <cairo.h>
#endif
#include <nan.h>

2
src/PNG.h

@ -2,7 +2,7 @@
#define _CANVAS_PNG_H
#include <png.h>
#include <pngconf.h>
#include <cairo/cairo.h>
#include <cairo.h>
#include <stdlib.h>
#include <string.h>
#include "closure.h"

Loading…
Cancel
Save