diff --git a/libkc3/kc3.c b/libkc3/kc3.c
index 7ec6a36..9f1b063 100644
--- a/libkc3/kc3.c
+++ b/libkc3/kc3.c
@@ -66,6 +66,13 @@ void kc3_system_pipe_exec (s32 pipe_fd, char **argv,
const s_list * const *list);
#endif
+#ifdef WIN32
+int fork (void)
+{
+ return -1;
+}
+#endif
+
s_tag * kc3_access (s_tag *tag, s_list **key,
s_tag *dest)
{
diff --git a/libkc3/kc3_main.h b/libkc3/kc3_main.h
index d7d3b68..835490a 100644
--- a/libkc3/kc3_main.h
+++ b/libkc3/kc3_main.h
@@ -131,4 +131,9 @@ s_tag * kc3_while (s_tag *cond, s_tag *body, s_tag *dest);
/* debug */
void kc3_break (void);
+/* miscelleanous */
+#ifdef WIN32
+int fork (void);
+#endif
+
#endif /* LIBKC3_KC3_MAIN_H */