diff --git a/src/actions.cc b/src/actions.cc index 5d8aebe..e7cf448 100644 --- a/src/actions.cc +++ b/src/actions.cc @@ -34,7 +34,6 @@ #include "private.h" - /*---[ Implement ]----------------------------------------------------------------------------------*/ PyObject * terminal_pfkey(PyObject *self, PyObject *args) { diff --git a/src/private.h b/src/private.h index 4ee6733..d7deb39 100644 --- a/src/private.h +++ b/src/private.h @@ -34,7 +34,11 @@ // http://stackoverflow.com/questions/28683358/error-hypot-has-not-been-declared-in-cmath-while-trying-to-embed-python #include + // https://lists.gt.net/python/dev/340073 + #pragma GCC diagnostic push + #pragma GCC system_header #include + #pragma GCC diagnostic pop #include #include -- libgit2 0.21.2