diff --git a/src/engine/date.h b/src/engine/date.h index cb0165d788..ce4cf6833a 100644 --- a/src/engine/date.h +++ b/src/engine/date.h @@ -64,11 +64,13 @@ typedef enum * assuming that all the other modern compilers are clean on this * issue too. */ +#ifndef SWIG /* swig 1.1p5 can't hack the long long type */ struct timespec64 { long long int tv_sec; long int tv_nsec; }; +#endif /* SWIG */ typedef struct timespec64 Timespec;