Issue #16741: Fix an error reporting in int().
diff --git a/Include/longobject.h b/Include/longobject.h
index cd0cf30..bcb93b9 100644
--- a/Include/longobject.h
+++ b/Include/longobject.h
@@ -84,6 +84,7 @@
 #ifndef Py_LIMITED_API
 PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
 PyAPI_FUNC(PyObject *) PyLong_FromUnicodeObject(PyObject *u, int base);
+PyAPI_FUNC(PyObject *) _PyLong_FromBytes(const char *, Py_ssize_t, int);
 #endif
 
 #ifndef Py_LIMITED_API