s4/heimdal: fix make-proto.pl with perl 5.16
[mat/samba.git] / source4 / heimdal / cf / make-proto.pl
index 6894dc143e17f7b1e52bf15fd75c258475982097..07b53f9a8cd6a06aefbe67f65841ee038b324c00 100644 (file)
@@ -1,8 +1,7 @@
 # Make prototypes from .c files
 # $Id$
 
-##use Getopt::Std;
-require 'getopts.pl';
+use Getopt::Std;
 
 my $comment = 0;
 my $if_0 = 0;
@@ -13,7 +12,7 @@ my $oproto = 1;
 my $private_func_re = "^_";
 my %depfunction = ();
 
-Getopts('x:m:o:p:dqE:R:P:') || die "foo";
+getopts('x:m:o:p:dqE:R:P:') || die "foo";
 
 if($opt_d) {
     $debug = 1;