Fix some build breaks

This commit is contained in:
Justine Tunney 2021-09-04 02:29:57 -07:00
parent 27f7ffd4fd
commit a81192e0b9
5 changed files with 5 additions and 10 deletions

View file

@ -2210,9 +2210,8 @@ PyObject_CallObject(PyObject *o, PyObject *a)
return PyEval_CallObjectWithKeywords(o, a, NULL);
}
#ifdef MODE_DBG
PyObject*
_Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
(_Py_CheckFunctionResult)(PyObject *func, PyObject *result, const char *where)
{
int err_occurred = (PyErr_Occurred() != NULL);
@ -2258,7 +2257,6 @@ _Py_CheckFunctionResult(PyObject *func, PyObject *result, const char *where)
}
return result;
}
#endif
PyObject *
PyObject_Call(PyObject *func, PyObject *args, PyObject *kwargs)

View file

@ -90,6 +90,7 @@
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.macros.h"
#include "third_party/sqlite3/sqlite3.h"
typedef sqlite3_int64 i64;