diff --git a/src/cyclic.c b/src/cyclic.c
index 216f08fcfd9a51848f2de9c51985982700451e74..4e0132cbf27349149ca1ae6b5d2b39b81c8444d5 100644
--- a/src/cyclic.c
+++ b/src/cyclic.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: cyclic.c,v 1.13 2004/09/18 20:50:48 nilsson Exp $
+|| $Id: cyclic.c,v 1.14 2010/06/01 09:43:19 grubba Exp $
 */
 
 #include "global.h"
@@ -40,17 +40,17 @@ static void low_unlink_cyclic(CYCLIC *c)
   Pike_fatal("Unlink cyclic on lost cyclic struct.\n");
 }
 
-void unlink_cyclic(CYCLIC *c)
+PMOD_EXPORT void unlink_cyclic(CYCLIC *c)
 {
   UNSET_ONERROR(c->onerr);
   low_unlink_cyclic(c);
 }
 
-void *begin_cyclic(CYCLIC *c,
-		   char *id,
-		   void *th,
-		   void *a,
-		   void *b)
+PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
+			       char *id,
+			       void *th,
+			       void *a,
+			       void *b)
 {
   size_t h;
   void *ret=0;
diff --git a/src/cyclic.h b/src/cyclic.h
index 58542b8f6a5266114b6beab00f61cb87b8ff429f..934a628ff4263e1735a8f3b17491ff9a2b060682 100644
--- a/src/cyclic.h
+++ b/src/cyclic.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: cyclic.h,v 1.9 2003/01/05 14:29:54 grubba Exp $
+|| $Id: cyclic.h,v 1.10 2010/06/01 09:43:20 grubba Exp $
 */
 
 #ifndef CYCLIC_H
@@ -50,12 +50,12 @@ typedef struct CYCLIC
 #define END_CYCLIC()  unlink_cyclic(&cyclic_struct__)
 
 /* Prototypes begin here */
-void unlink_cyclic(CYCLIC *c);
-void *begin_cyclic(CYCLIC *c,
-		   char *id,
-		   void *thread,
-		   void *a,
-		   void *b);
+PMOD_EXPORT void unlink_cyclic(CYCLIC *c);
+PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
+			       char *id,
+			       void *thread,
+			       void *a,
+			       void *b);
 /* Prototypes end here */
 
 #endif /* CYCLIC_H */