diff options
Diffstat (limited to 'utils/c2ph.PL')
-rw-r--r-- | utils/c2ph.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/c2ph.PL b/utils/c2ph.PL index 39545e3f8a..9450400fe4 100644 --- a/utils/c2ph.PL +++ b/utils/c2ph.PL @@ -369,13 +369,13 @@ $DEFINES = ''; $perl++ if $0 =~ m#/?c2ph$#; -require 'getopts.pl'; +use Getopt::Std qw(getopts); use File::Temp 'tempdir'; eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_]+=)(.*)/ && shift; -&Getopts('aixdpvtnws:') || &usage(0); +getopts('aixdpvtnws:') || &usage(0); $opt_d && $debug++; $opt_t && $trace++; |