Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Mac compile again
  • Loading branch information
mdboom committed Oct 17, 2014
commit d862c4740984433545461ded596d421f48f6b6a7
2 changes: 2 additions & 0 deletions src/_path_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include "numpy_cpp.h"

#include "_path.h"

#include "py_converters.h"
Expand Down
9 changes: 6 additions & 3 deletions src/_png.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

#include <vector>

#include "numpy_cpp.h"
#include "mplutils.h"
#include "file_compat.h"

extern "C" {
#ifdef __linux__
# include <png.h>
# ifdef _POSIX_C_SOURCE
Expand All @@ -28,10 +33,8 @@

# include <png.h>
#endif
}

#include "file_compat.h"
#include "numpy_cpp.h"
#include "mplutils.h"

// As reported in [3082058] build _png.so on aix
#ifdef _AIX
Expand Down
2 changes: 1 addition & 1 deletion src/mplutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef _MPLUTILS_H
#define _MPLUTILS_H

#ifdef _MSC_VER && _MSC_VER <= 1600
#if defined(_MSC_VER) && _MSC_VER <= 1600
typedef unsigned __int8 uint8_t;
#else
#include <stdint.h>
Expand Down