From bd6496191222fab41b364dfcad54ec52a753be7d Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 12 Feb 2010 00:03:44 +0000 Subject: Improve support for NetBSD git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index b95a6fecb..58015b718 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -392,7 +392,7 @@ InspIRCd::InspIRCd(int argc, char** argv) : }; int index; - while ((c = getopt_long_only(argc, argv, ":f:", longopts, &index)) != -1) + while ((c = getopt_long(argc, argv, ":f:", longopts, &index)) != -1) { switch (c) { -- cgit v1.2.3