133 lines
4.2 KiB
Diff
133 lines
4.2 KiB
Diff
Index: linux-atm-2.5.0/src/arpd/arp.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/arpd/arp.c
|
|
+++ linux-atm-2.5.0/src/arpd/arp.c
|
|
@@ -16,6 +16,7 @@
|
|
#include <sys/socket.h> /* for linux/if_arp.h */
|
|
#include <netinet/in.h> /* for ntohs, etc. */
|
|
#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
|
|
+#include <linux/types.h>
|
|
#include <linux/if_arp.h>
|
|
#include <linux/if_ether.h>
|
|
#include <atm.h>
|
|
Index: linux-atm-2.5.0/src/arpd/atmarp.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/arpd/atmarp.c
|
|
+++ linux-atm-2.5.0/src/arpd/atmarp.c
|
|
@@ -19,6 +19,7 @@
|
|
#include <net/if_arp.h>
|
|
|
|
#include <stdint.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmarp.h>
|
|
#include <linux/atmclip.h>
|
|
|
|
Index: linux-atm-2.5.0/src/arpd/io.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/arpd/io.c
|
|
+++ linux-atm-2.5.0/src/arpd/io.c
|
|
@@ -19,6 +19,7 @@
|
|
#include <net/if.h>
|
|
#include <netinet/in.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
|
|
#include <linux/atmarp.h>
|
|
#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
Index: linux-atm-2.5.0/src/arpd/itf.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/arpd/itf.c
|
|
+++ linux-atm-2.5.0/src/arpd/itf.c
|
|
@@ -10,6 +10,7 @@
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmclip.h>
|
|
#include <sys/socket.h>
|
|
#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
Index: linux-atm-2.5.0/src/mpoad/io.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/io.c
|
|
+++ linux-atm-2.5.0/src/mpoad/io.c
|
|
@@ -19,6 +19,7 @@
|
|
_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
|
|
#endif
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmioc.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/types.h>
|
|
Index: linux-atm-2.5.0/src/mpoad/k_interf.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/k_interf.c
|
|
+++ linux-atm-2.5.0/src/mpoad/k_interf.c
|
|
@@ -10,6 +10,7 @@
|
|
#include <sys/param.h> /* for OPEN_MAX */
|
|
#include <stdint.h>
|
|
#include <netinet/in.h> /* for ntohl() */
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <atm.h>
|
|
#include "k_interf.h"
|
|
Index: linux-atm-2.5.0/src/mpoad/lecs.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/lecs.c
|
|
+++ linux-atm-2.5.0/src/mpoad/lecs.c
|
|
@@ -11,6 +11,7 @@
|
|
#include <errno.h>
|
|
#include <atm.h>
|
|
#include <atmsap.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h> /* for MPOA Device type TLV */
|
|
#include "lecs.h"
|
|
#include "k_interf.h"
|
|
Index: linux-atm-2.5.0/src/mpoad/main.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/main.c
|
|
+++ linux-atm-2.5.0/src/mpoad/main.c
|
|
@@ -9,6 +9,7 @@
|
|
#include <time.h>
|
|
#include <sys/ioctl.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmdev.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/socket.h>
|
|
Index: linux-atm-2.5.0/src/mpoad/p_factory.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/p_factory.c
|
|
+++ linux-atm-2.5.0/src/mpoad/p_factory.c
|
|
@@ -5,6 +5,7 @@
|
|
#include <sys/types.h>
|
|
#include <stdint.h>
|
|
#include <netinet/in.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/socket.h>
|
|
#include <unistd.h>
|
|
Index: linux-atm-2.5.0/src/mpoad/p_recogn.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/mpoad/p_recogn.c
|
|
+++ linux-atm-2.5.0/src/mpoad/p_recogn.c
|
|
@@ -7,6 +7,7 @@
|
|
#include <stdlib.h>
|
|
#include <sys/time.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <netinet/in.h>
|
|
#include <limits.h> /* For UINT_MAX */
|
|
Index: linux-atm-2.5.0/src/led/main.c
|
|
===================================================================
|
|
--- linux-atm-2.5.0.orig/src/led/main.c
|
|
+++ linux-atm-2.5.0/src/led/main.c
|
|
@@ -41,6 +41,7 @@
|
|
#include <getopt.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
+#include <limits.h>
|
|
|
|
#include <atm.h>
|
|
#include <atmd.h>
|