]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
removed sys/select.h on windows platform
[user/henk/code/inspircd.git] / configure
index 244afb691f9a059c7bf20713a310c597918cd41f..09efb51f35da5b095c1c1c9f3b0c2f1468e6a6e0 100755 (executable)
--- a/configure
+++ b/configure
@@ -12,7 +12,9 @@
 #
 ###################################################
 
-require 5.8.0;
+BEGIN {
+       require 5.8.0;
+}
 
 use strict;
 use warnings FATAL => qw(all);
@@ -544,7 +546,7 @@ $has_kqueue = 0;
 $fail = 0;
 open(KQUEUE, "</usr/include/sys/event.h") or $fail = 1;
 if (!$fail) {
-       while (defiined(my $line = <KQUEUE>)) {
+       while (defined(my $line = <KQUEUE>)) {
                chomp($line);
                # try and find the delcaration of:
                # int kqueue(void);