8000 Make png.h the absolute first thing · kkoci/matplotlib@c2c03df · GitHub
[go: up one dir, main page]

Skip to content

Commit c2c03df

Browse files
author
Michael Droettboom
committed
Make png.h the absolute first thing
1 parent 5749338 commit c2c03df

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/_png.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
*/
1212

1313

14-
#include "numpy_cpp.h"
15-
#include "mplutils.h"
16-
#include "file_compat.h"
17-
1814
extern "C" {
1915
# include <png.h>
2016
# ifdef _POSIX_C_SOURCE
@@ -24,6 +20,11 @@ extern "C" {
2420
# undef _XOPEN_SOURCE
2521
# endif
2622
}
23+
24+
#include "numpy_cpp.h"
25+
#include "mplutils.h"
26+
#include "file_compat.h"
27+
2728
# include <vector>
2829
# include "Python.h"
2930

0 commit comments

Comments
 (0)
0