aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs5
1 files changed, 5 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 5e23ba6..8602dc9 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -12,6 +12,10 @@
#include "perl.h"
#include "XSUB.h"
+#include <inttypes.h>
+#define MATH_INT64_NATIVE_IF_AVAILABLE
+#include "perl_math_int64.h"
+
#include <sys/utsname.h>
#include <sys/select.h>
#include <sys/time.h>
@@ -2755,6 +2759,7 @@ MODULE = URPM PACKAGE = URPM PREFIX = Urpm_
BOOT:
(void) read_config_files(0);
+ PERL_MATH_INT64_LOAD_OR_CROAK;
void
Urpm_bind_rpm_textdomain_codeset()