aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/cumulus/cumulus/open_max.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/cumulus/cumulus/open_max.patch')
-rw-r--r--recipes/cumulus/cumulus/open_max.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/cumulus/cumulus/open_max.patch b/recipes/cumulus/cumulus/open_max.patch
new file mode 100644
index 0000000000..0a7cfccdbf
--- /dev/null
+++ b/recipes/cumulus/cumulus/open_max.patch
@@ -0,0 +1,11 @@
+--- cumulus/gpscon.cpp.old 2008-11-18 23:39:12.000000000 +0000
++++ cumulus/gpscon.cpp 2008-11-18 23:43:32.000000000 +0000
+@@ -416,7 +416,7 @@
+
+ if( maxOpenFds == -1 ) // call failed
+ {
+- maxOpenFds = OPEN_MAX; // normal default from limits.h
++ maxOpenFds = sysconf(_SC_OPEN_MAX);
+ }
+ else
+ {