]> git.pld-linux.org Git - packages/atm.git/blobdiff - atm-OPEN_MAX.patch
- Thanks to malekith sugestion #define OPEN_MAX 1024 added to io.c
[packages/atm.git] / atm-OPEN_MAX.patch
index 930651817b0878111050a503582ca8cf6c93cd07..870e24514dbc1a3ce1580ac629503e19edf14cfb 100644 (file)
@@ -1,10 +1,11 @@
---- atm/mpoad/io.c~    Tue Jan 18 22:33:07 2000
-+++ atm/mpoad/io.c     Sat Nov  4 04:17:12 2000
-@@ -5,6 +5,7 @@
- #include <string.h>    /* for strerror() */
- #include <errno.h>
- #include <sys/ioctl.h>
-+#include <linux/limits.h> /* for OPEN_MAX   */
- #include <sys/param.h> /* for OPEN_MAX   */
- #if __GLIBC__ >= 2
- #include <sys/poll.h>
+diff -urN atm.orig/mpoad/io.c atm/mpoad/io.c
+--- atm.orig/mpoad/io.c        Sat Dec  5 01:43:15 1998
++++ atm/mpoad/io.c     Fri Jul  6 16:09:32 2001
+@@ -26,6 +26,7 @@
+ #include "k_interf.h"
+ #include "io.h"
+ #include "get_vars.h"
++#define OPEN_MAX 1024
+ #ifdef BROKEN_POLL
+ #include "poll2select.h"
This page took 0.092604 seconds and 4 git commands to generate.