From d5489c89596f924ce37d37a0b0e8462972b2eed3 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 28 Apr 2005 12:59:46 +0000 Subject: [PATCH] updates. --- includes/silcincludes.h.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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" -- 2.24.0