Prevent compilation errors from complex C4 import/export.
[koha_gimpoz] / C4 / SIP / Sip / MsgType.pm
index bf390c7..44a0034 100644 (file)
@@ -10,7 +10,6 @@ use strict;
 use warnings;
 use Exporter;
 use Sys::Syslog qw(syslog);
-use UNIVERSAL qw(can);
 
 use Sip qw(:all);
 use Sip::Constants qw(:all);
@@ -20,6 +19,8 @@ use Data::Dumper;
 use CGI;
 use C4::Auth qw(&check_api_auth);
 
+use UNIVERSAL qw(can); # make sure this is *after* C4 modules.
+
 use vars qw(@ISA $VERSION @EXPORT_OK);
 
 BEGIN {