$OpenBSD: patch-monotonic_py,v 1.1.1.1 2017/07/13 01:29:40 danj Exp $

Our time_t is 64 bits on all platforms.

Index: monotonic.py
--- monotonic.py.orig
+++ monotonic.py
@@ -139,7 +139,7 @@ except AttributeError:
 
             class timespec(ctypes.Structure):
                 """Time specification, as described in clock_gettime(3)."""
-                _fields_ = (('tv_sec', ctypes.c_long),
+                _fields_ = (('tv_sec', ctypes.c_int64),
                             ('tv_nsec', ctypes.c_long))
 
             if sys.platform.startswith('linux'):
