Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build failure on Launchpad #3684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 23, 2014
Merged
Changes from all commits
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
19 changes: 6 additions & 13 deletions src/_png.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,23 @@
of harmless warnings.
*/

#include <vector>

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

extern "C" {
#ifdef __linux__
# include <png.h>
# ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
# endif
# ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
# endif
# include "Python.h"
#else
}

/* Python API mandates Python.h is included *first* */
# include "Python.h"
#include "numpy_cpp.h"
#include "mplutils.h"
#include "file_compat.h"

# include <png.h>
#endif
}
# include <vector>
# include "Python.h"


// As reported in [3082058] build _png.so on aix
Expand Down