aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Fork.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/Fork.h')
-rw-r--r--nxcomp/Fork.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/nxcomp/Fork.h b/nxcomp/Fork.h
new file mode 100644
index 000000000..9df9f4041
--- /dev/null
+++ b/nxcomp/Fork.h
@@ -0,0 +1,23 @@
+/**************************************************************************/
+/* */
+/* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/. */
+/* */
+/* NXCOMP, NX protocol compression and NX extensions to this software */
+/* are copyright of NoMachine. Redistribution and use of the present */
+/* software is allowed according to terms specified in the file LICENSE */
+/* which comes in the source distribution. */
+/* */
+/* Check http://www.nomachine.com/licensing.html for applicability. */
+/* */
+/* NX and NoMachine are trademarks of Medialogic S.p.A. */
+/* */
+/* All rights reserved. */
+/* */
+/**************************************************************************/
+
+//
+// Try again if the fork() fails, as it can happen
+// often on Cygwin.
+//
+
+extern int Fork();