aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Fork.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/Fork.h')
-rwxr-xr-xnxcomp/Fork.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/nxcomp/Fork.h b/nxcomp/Fork.h
new file mode 100755
index 000000000..d6fe879ef
--- /dev/null
+++ b/nxcomp/Fork.h
@@ -0,0 +1,23 @@
+/**************************************************************************/
+/* */
+/* Copyright (c) 2001, 2007 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 NoMachine S.r.l. */
+/* */
+/* All rights reserved. */
+/* */
+/**************************************************************************/
+
+//
+// Try again if the fork() fails, as it can happen
+// often on Cygwin.
+//
+
+int Fork();