diff --git a/plugins/python/pyhelpers.h b/plugins/python/pyhelpers.h index 5448e1d48..6ab7c4984 100644 --- a/plugins/python/pyhelpers.h +++ b/plugins/python/pyhelpers.h @@ -22,6 +22,9 @@ #define PY_SSIZE_T_CLEAN #include +/* Python may be built with 32-bit time_t support on some platforms. */ +#undef SIZEOF_TIME_T + #include #include "sudo_compat.h" #include "sudo_plugin.h"