Python may be built with 32-bit time_t support on 32-bit platforms.

We need to undef the SIZEOF_TIME_T from pyconfig.h so it does not
conflict with our own.
This commit is contained in:
Todd C. Miller
2023-06-11 14:05:02 -06:00
parent ac46157e94
commit a28d2d4128

View File

@@ -22,6 +22,9 @@
#define PY_SSIZE_T_CLEAN
#include <Python.h>
/* Python may be built with 32-bit time_t support on some platforms. */
#undef SIZEOF_TIME_T
#include <config.h>
#include "sudo_compat.h"
#include "sudo_plugin.h"