We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542a52b commit 9750a61Copy full SHA for 9750a61
pybind11_protobuf/native_proto_caster.h
@@ -1,11 +1,14 @@
1
#ifndef PYBIND11_PROTOBUF_NATIVE_PROTO_CASTERS_H_
2
#define PYBIND11_PROTOBUF_NATIVE_PROTO_CASTERS_H_
3
4
-#include <Python.h>
+// pybind11 includes have to be at the very top, even before Python.h
5
#include <pybind11/cast.h>
6
#include <pybind11/pybind11.h>
7
#include <pybind11/pytypes.h>
8
9
+// IWYU
10
+#include <Python.h>
11
+
12
#include <functional>
13
#include <memory>
14
#include <optional>
0 commit comments