From: Pekka Riikonen Date: Thu, 28 Apr 2005 12:59:46 +0000 (+0000) Subject: updates. X-Git-Tag: autodist.1.3~36 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=d5489c89596f924ce37d37a0b0e8462972b2eed3;p=silc.git updates. --- diff --git a/includes/silcincludes.h.in b/includes/silcincludes.h.in index 97ed81c7..de9a23d2 100644 --- a/includes/silcincludes.h.in +++ b/includes/silcincludes.h.in @@ -143,8 +143,10 @@ extern "C" { #include #include -#ifdef HAVE_GETOPT_H +#if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT) #include +#else +#include "getopt.h" #endif #ifdef SOCKS5 @@ -224,10 +226,6 @@ extern "C" { #endif /* !SILC_WIN32 */ -#ifndef HAVE_GETOPT_LONG -#include "getopt.h" -#endif - /* Include generic SILC type definitions */ #include "silctypes.h" #include "silcversion.h"