From f9f7a3f61a2f525029dadc644830fde99ee1c4bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Wilhelm=20K=C3=B6hler?= <wk@cs.tu-berlin.de>
Date: Mon, 4 Aug 1997 11:28:52 +0200
Subject: [PATCH] =?UTF-8?q?Added=20external=20dependency=20on=20get=5Fall?=
 =?UTF-8?q?=5Factive=5Ffd().=20Thanks=20to=20Wilhelm=20K=C3=B6hler.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Rev: src/modules/spider/spider.c:1.35
---
 src/modules/spider/spider.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/modules/spider/spider.c b/src/modules/spider/spider.c
index 05b849d604..66432f5974 100644
--- a/src/modules/spider/spider.c
+++ b/src/modules/spider/spider.c
@@ -1262,20 +1262,21 @@ void pike_module_init(void)
   add_efun("discdate", f_discdate, "function(int:array)", 0);
   add_efun("stardate", f_stardate, "function(int,void|int:int)", 0);
 
-  add_efun("timezone",f_timezone,"function(:int)",0);
-  add_efun("get_all_active_fd",f_get_all_active_fd,"function(:array(int))",0);
+  add_efun("timezone", f_timezone, "function(:int)", 0);
+  add_efun("get_all_active_fd", f_get_all_active_fd, "function(:array(int))",
+	   OPT_EXTERNAL_DEPEND);
 #if 0
-  add_efun("name_process",f_name_process,"function(string:void)",0);
+  add_efun("name_process", f_name_process, "function(string:void)", 0);
 #endif
-  add_efun("fd_info",f_fd_info,"function(int:string)",0);
-  add_efun("mark_fd",f_mark_fd,"function(int,void|mixed:mixed)",0);
+  add_efun("fd_info", f_fd_info, "function(int:string)", 0);
+  add_efun("mark_fd", f_mark_fd, "function(int,void|mixed:mixed)", 0);
 
   /* timezone() needs */
   { 
     time_t foo = (time_t)0;
     struct tm *g;
 
-    g=localtime(&foo);
+    g = localtime(&foo);
 #ifndef HAVE_INT_TIMEZONE
     _tz = g->tm_gmtoff;
 #endif
-- 
GitLab