torque/torque-2.1.10-NI_MAXSERV.patch

15 lines
440 B
Diff
Raw Normal View History

2008-02-14 21:14:23 +00:00
diff -pruN torque-2.1.10_orig/src/include/port_forwarding.h torque-2.1.10/src/include/port_forwarding.h
--- torque-2.1.10_orig/src/include/port_forwarding.h 2006-10-13 11:25:37.000000000 -0700
+++ torque-2.1.10/src/include/port_forwarding.h 2008-02-14 13:08:05.000000000 -0800
@@ -16,6 +16,10 @@
# endif
#endif /* X_UNIX_PATH */
+#ifndef NI_MAXSERV
+# define NI_MAXSERV 32
+#endif /* !NI_MAXSERV */
+
struct pfwdsock {
int sock;